Commit Graph

20 Commits

Author SHA1 Message Date
David 762b6c870c VARIABLE 2021-02-24 21:27:52 -05:00
David 241470248b reorder built-ins a bit 2021-02-24 20:46:31 -05:00
David 4727312da4 implement string handling! 2021-02-24 20:44:56 -05:00
David a2e6115248 implement SEE and make comments suck less 2021-02-24 20:19:25 -05:00
David 953764004d fix silly word collision with -1 built-in 2021-02-21 15:04:51 -05:00
David 0d322b92df define /MOD in prosper, not as a built-in 2021-02-20 19:13:28 -05:00
David 048557caf2 add yet more common words 2021-02-20 18:47:10 -05:00
David 7251f1ba60 NEGATE/MAX/MIN implemented in forth, not builtins 2021-02-20 18:15:09 -05:00
David a75db93581 add more common math and fix my comparison checks 2021-02-20 18:03:02 -05:00
David 06ad13dd28 abstract the output of the last few places I missed 2021-02-20 17:12:34 -05:00
David 6efa404712 make IF/ELSE/THEN work! 2021-02-20 15:52:27 -05:00
David 2a1a6fc0d2 tests, abstracting output for PRINT and EMIT 2021-02-20 12:09:04 -05:00
David 1a229d5ddb abstract flags, implement comments as words, fix some bugs 2021-02-15 19:24:04 -05:00
David 7c76bc49af remove special-case : ; from parser 2021-02-15 15:35:40 -05:00
David 9d3f61338f add DO LOOP 2021-02-14 20:26:30 -05:00
David 852aaa6387 start using return stack to track evaluation location 2021-02-14 14:27:02 -05:00
David 199203e73f add equality checking and lt,gt,etc 2021-02-14 12:20:34 -05:00
David 7212f3d9f6 add return stack 2021-02-14 11:58:43 -05:00
David bce7e3df4e implement EMIT and QUIT 2021-02-13 21:37:56 -05:00
David 4dc64947db initial commit; we have evaluation! 2021-02-13 21:09:56 -05:00