Commit Graph

21 Commits

Author SHA1 Message Date
6c5df444da add a readme 2021-02-21 12:22:08 -05:00
0676cad34d move int parsing to after word check 2021-02-20 19:22:36 -05:00
ff5346994f whoops, lost the bad-word error case 2021-02-20 19:18:45 -05:00
0d322b92df define /MOD in prosper, not as a built-in 2021-02-20 19:13:28 -05:00
fee9325155 comment on the nature of truth and falsehood 2021-02-20 18:59:41 -05:00
048557caf2 add yet more common words 2021-02-20 18:47:10 -05:00
7251f1ba60 NEGATE/MAX/MIN implemented in forth, not builtins 2021-02-20 18:15:09 -05:00
a75db93581 add more common math and fix my comparison checks 2021-02-20 18:03:02 -05:00
06ad13dd28 abstract the output of the last few places I missed 2021-02-20 17:12:34 -05:00
6efa404712 make IF/ELSE/THEN work! 2021-02-20 15:52:27 -05:00
2a1a6fc0d2 tests, abstracting output for PRINT and EMIT 2021-02-20 12:09:04 -05:00
1a229d5ddb abstract flags, implement comments as words, fix some bugs 2021-02-15 19:24:04 -05:00
7c76bc49af remove special-case : ; from parser 2021-02-15 15:35:40 -05:00
e5bb216f95 implement PICK on stacks to make the implementation of I less silly 2021-02-14 20:32:38 -05:00
9d3f61338f add DO LOOP 2021-02-14 20:26:30 -05:00
626e90d54c parser location doesn't need to be in the context, does it? 2021-02-14 14:30:15 -05:00
852aaa6387 start using return stack to track evaluation location 2021-02-14 14:27:02 -05:00
199203e73f add equality checking and lt,gt,etc 2021-02-14 12:20:34 -05:00
7212f3d9f6 add return stack 2021-02-14 11:58:43 -05:00
bce7e3df4e implement EMIT and QUIT 2021-02-13 21:37:56 -05:00
4dc64947db initial commit; we have evaluation! 2021-02-13 21:09:56 -05:00