Commit graph

12 commits

Author SHA1 Message Date
Russ Olsen
502f120d7b Added builtin alias word, which means we can define most of the built-in words with non-Python comparible names (think . and +) in sallyforth instead of Python. Also added backslash comments and stack reset work. 2020-04-18 12:12:10 -04:00
Russ Olsen
97c3aa1fff Switched the word function xface so that words now return the new ip instead of a delta. This simplifies the interpreter allows recur to simply return 0. Also changed the tokenizer so that 'foo produces a string w/o the need for a closing quote, good for symbols. 2020-04-18 10:22:25 -04:00
Russ Olsen
0f63796331 General cleanup, use single quotes in Python, added single quoted strings to SallyForth. 2020-04-17 13:44:18 -04:00
Russ Olsen
8785b97f03 Reorganize code to make it a bit more modular. 2020-04-17 13:42:41 -04:00
Russ Olsen
6925755432 Added better support for calling native code, added readline history, else to ifs. 2020-04-17 08:56:06 -04:00
Russ Olsen
d5e5885b0b README.md 2020-04-16 09:07:08 -04:00
Russ Olsen
c5c8cdfff2 Added start up file execution, configurable prompt. 2020-04-16 09:04:06 -04:00
Russ Olsen
4886e2de2a Renamed process functions to execute, added file execution, vars. 2020-04-16 09:02:36 -04:00
Russ Olsen
c74f666a19 Added (comments) 2020-04-16 09:01:50 -04:00
Russ Olsen
f8ceb9b3a3 Fix formatting. 2020-04-14 12:45:46 -04:00
Russ Olsen
2a9ea9548f Initial checkin. 2020-04-14 12:44:37 -04:00
russolsen
3e48c372dc
Initial commit 2020-04-14 12:06:48 -04:00