Commit Graph

32 Commits

Author SHA1 Message Date
7291ca86c8 implement line-comments 2021-02-25 22:09:59 -05:00
0784661e7c fix bug in variable addressing if they weren't immediately written to 2021-02-25 21:13:03 -05:00
e428c883db CONSTANT 2021-02-25 21:04:35 -05:00
762b6c870c VARIABLE 2021-02-24 21:27:52 -05:00
241470248b reorder built-ins a bit 2021-02-24 20:46:31 -05:00
4727312da4 implement string handling! 2021-02-24 20:44:56 -05:00
e998c286d7 check off SEE 2021-02-24 20:19:44 -05:00
a2e6115248 implement SEE and make comments suck less 2021-02-24 20:19:25 -05:00
583fa79985 fibonacci code 2021-02-22 16:55:33 -05:00
5048b445ae remove unused DIVMOD builtin 2021-02-21 15:06:08 -05:00
953764004d fix silly word collision with -1 built-in 2021-02-21 15:04:51 -05:00
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