https://github.com/howerj/subleq-python
Python N-Bit SUBLEQ Interpreter with eForth image
https://github.com/howerj/subleq-python
eforth forth oisc python subleq
Last synced: 17 days ago
JSON representation
Python N-Bit SUBLEQ Interpreter with eForth image
- Host: GitHub
- URL: https://github.com/howerj/subleq-python
- Owner: howerj
- Created: 2023-10-03T19:22:00.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-01T23:41:48.000Z (over 2 years ago)
- Last Synced: 2023-12-02T00:35:02.156Z (over 2 years ago)
- Topics: eforth, forth, oisc, python, subleq
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# SUBLEQ OISC VM in Python
* Author: Richard James Howe
* License: The Unlicense
* Email:
* Repo:
An N-Bit SUBLEQ Interpreter written in Python. For more information
see:
*
*
*
65536 cells are initialized to zero if not set, reading cells
before setting them outside of that range will result in a warning.
The program returns non-zero on failure, and zero on success.
The image provided contains a working, 16-bit, eForth programming
language interpreter, see
for
more information on Forth (eForth being the dialect).
"make" is not required, but a Makefile is provided for convenience.
To run:
./subleq.py 16 eforth.dec
Type "words" and hit Enter to get a list of defined Forth functions.
Type "bye" or CTRL-D (CTRL-Z on Windows) to exit.