A Jupyter kernel for the Forth programming language. Allows running Forth in interactive Jupyter Notebook.
Project description
IForth
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.
Installation
Ensure python and gforth are available in environment PATH:
$ pip install forth_kernel
$ python -m forth_kernel.self_install --user
Note: Currently supported on Linux only because on Windows, gforth doesn't work.
Development Installation
Git clone this repo, then do editable install using uv: uv run python -m forth_kernel.self_install --user.
Usage
- 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file forth_kernel-0.4.1.tar.gz.
File metadata
- Download URL: forth_kernel-0.4.1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.28
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81e6b0dfc06605d52f86a00427d5af0b12d5d5a87de7adbbc8587359952d9fa1
|
|
| MD5 |
d26e063b57dc91a9c510eea7128ad9e5
|
|
| BLAKE2b-256 |
3176d6297a2d6a24c14ea7cd8ec44e432a4aac83c756776f14be3108735ed997
|
File details
Details for the file forth_kernel-0.4.1-py3-none-any.whl.
File metadata
- Download URL: forth_kernel-0.4.1-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.28
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6b769b3e34973360a41a4ae734e022c2bd6c521e0c1dca2663762533ca8a077
|
|
| MD5 |
a4ebe0300bfc65839673f1f07a257531
|
|
| BLAKE2b-256 |
52dfa2d32743c00ba9496ec2572bdcd6a3db4cdd0e4f89a4e32a9d80014a387c
|