Skip to main content

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.

Open in Colab

Example Notebook Screenshot

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 (or jupyter 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

forth_kernel-0.4.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

forth_kernel-0.4.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

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

Hashes for forth_kernel-0.4.1.tar.gz
Algorithm Hash digest
SHA256 81e6b0dfc06605d52f86a00427d5af0b12d5d5a87de7adbbc8587359952d9fa1
MD5 d26e063b57dc91a9c510eea7128ad9e5
BLAKE2b-256 3176d6297a2d6a24c14ea7cd8ec44e432a4aac83c756776f14be3108735ed997

See more details on using hashes here.

File details

Details for the file forth_kernel-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for forth_kernel-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f6b769b3e34973360a41a4ae734e022c2bd6c521e0c1dca2663762533ca8a077
MD5 a4ebe0300bfc65839673f1f07a257531
BLAKE2b-256 52dfa2d32743c00ba9496ec2572bdcd6a3db4cdd0e4f89a4e32a9d80014a387c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page