Commit Graph

24 Commits

Author SHA1 Message Date
David efe408bed8 basic command-line library handling 2021-02-26 22:09:43 -05:00
David 5e782bc728 fix some string bugs and make external-file-loading work 2021-02-26 20:49:10 -05:00
David 7291ca86c8 implement line-comments 2021-02-25 22:09:59 -05:00
David 0784661e7c fix bug in variable addressing if they weren't immediately written to 2021-02-25 21:13:03 -05:00
David e428c883db CONSTANT 2021-02-25 21:04:35 -05:00
David 762b6c870c VARIABLE 2021-02-24 21:27:52 -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 5048b445ae remove unused DIVMOD builtin 2021-02-21 15:06:08 -05:00
David fee9325155 comment on the nature of truth and falsehood 2021-02-20 18:59:41 -05:00
David 048557caf2 add yet more common words 2021-02-20 18:47:10 -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 e5bb216f95 implement PICK on stacks to make the implementation of I less silly 2021-02-14 20:32:38 -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