https://github.com/mschuldt/janeforth
A copy of Jonesforth with my modifications and extensions.
https://github.com/mschuldt/janeforth
Last synced: about 2 months ago
JSON representation
A copy of Jonesforth with my modifications and extensions.
- Host: GitHub
- URL: https://github.com/mschuldt/janeforth
- Owner: mschuldt
- Created: 2018-09-11T05:12:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-15T08:03:47.000Z (almost 7 years ago)
- Last Synced: 2025-03-02T12:13:05.359Z (over 1 year ago)
- Language: Assembly
- Homepage:
- Size: 154 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Janeforth is a copy of Jonesforth containing my modifications and extensions.
Jonesforth is a brilliant forth tutorial by By Richard W.M. Jones,
It is available here: http://git.annexia.org/?p=jonesforth.git;a=summary
I didn't want to maintain the high level of commentary as I added
new features so I removed all the tutorial comments. If you are
looking for a tutorial go read the original Jonesforth.
If you are confused about what this code is doing,
go read the original Jonesforth. The original Jonesforth files
jonesforth.S and jonesforth.f are included here unmodified for reference.
Modifications:
- all words are lower cased
- 'depth' returns the depth in cells instead of bytes
- .s prints stack in same format as gforth, with depth and tos on the right
- tick that behaves as expected in compile and interpret modes
Renamed words:
dsp@ -> sp@
dsp@ -> sp!
tell -> type
' -> [']
[compile] -> postpone
added:
'
nil
2/
2*
lshift
rshift
[char]
reveal
recursive
r@
rpick
?do
loop
unloop
i
j
k