JFriCASΒΆ

jfricas.spad line 85 [edit on github]

The JFriCAS package contains functions to start a webserver and to initialize ioHooks for the communication between FriCAS and the Jupyter frontend. It also manages the communication between FriCAS (via the Hunchentoot webserver) and the Jupyter notebook.

defineHandler: (String, String) -> SExpression

fricaskernel: () -> Void

fricaskernel() writes out a file fricaskernel.py to the current directory. This file should be installed together kernel.json (generated by the kernel() function call) in your jupyter/python environment.

initialize: () -> Void

initialize() defines a number of functions for jFriCAS to work.

ioIndex: Integer -> String

isInitialized: () -> Boolean

jfricasIOHandler: (Symbol, SExpression) -> Void

jFriCASIOHandler(s) reacts on certain ioHooks and writes out begin and end markers to stdout so that the corresponding fricaskernel.py can single out the various kinds of messages that comes from FriCAS.

kernel: () -> Void

kernel() writes out a file kernel.json to the current directory. This file should be installed together fricaskernel.py (generated by the fricaskernel() function call) in your jupyter/python environment.

start: NonNegativeInteger -> Void

start(p) initializes jFriCAS and starts a new webserver instance on port p.