Forth kernel for Jupyter notebook / lab. This is a fork of github.com/jdfreder/iforth.
Note: Check the changelog to see the latest changes in development as well as in releases.
Install python
and gforth
, ensuring they are available in environment PATH, then do:
$ pip install forth_kernel
$ python -m forth_kernel.self_install --user
Note: Currently supported on Linux only because on Windows, gforth
doesn't work.
See detailed documentation at this repo's wiki. TODO: The wiki is empty, update docs there!
- Run
jupyter notebook
(orjupyter lab
, whichever you prefer). - In a new or existing notebook, use the kernel selector (located at the top right of the notebook) to select
IForth
.