Commit Graph

22 Commits

Author SHA1 Message Date
Starfflame b31e6cffab add word for VALUE 2021-07-19 22:15:55 -05:00
Starfflame fa9daaebb0 (LOCAL) word, along with helper words for using it. 2021-07-19 19:30:02 -05:00
Starfflame ecd663320a add support for string literals on data stack 2021-07-12 20:33:19 -05:00
Starfflame 4812f51700 Additional control structures 2021-05-29 02:12:29 -05:00
Starfflame aa5eb4640d Conditionals 2021-05-28 22:50:58 -05:00
Starfflame 3ddc671cb3 Add colon and semicolon operators 2021-05-25 23:27:18 -05:00
Starfflame 5efd5dbb60 Add recognizers for words and numbers 2021-05-25 03:41:39 -05:00
Starfflame 70e8c7e959 add compile, literal definitions 2021-05-25 03:07:03 -05:00
Starfflame 7fa57cf474 Add words for [ and ] 2021-05-25 02:27:57 -05:00
Starfflame c2c9a6bcc2 Add tests for core words 2021-05-23 22:22:27 -05:00
Starfflame 09e42c69d5 Add arithmetic tests for the Forth interpreter. 2021-05-23 06:59:36 -05:00
Starfflame 444a5590cd Add .busted config, seperate interpreter functions from initial setup code for forth machine 2021-05-18 22:43:19 -05:00
Starfflame 6959c473f8 rename State type to Environment 2021-05-14 03:29:54 -05:00
Starfflame 804c2a1cca Add ' and EXECUTE 2021-05-13 06:09:05 -05:00
Starfflame ecdf648d96 Expand core words dictionary 2021-05-13 05:54:06 -05:00
Starfflame e5090f532e Move helper functions for the CoreWords dictionary into its own module. 2021-05-13 04:19:54 -05:00
Starfflame fe6bc4f8cb cleanup 2021-05-13 00:40:08 -05:00
Starfflame 04ed7427cd Refactor DataStructures, add initial implementation of ForthInterpreter 2021-05-13 00:23:42 -05:00
Starfflame c20df3883f add DataStructures module 2021-05-12 03:32:25 -05:00
Starfflame b37499b7bc add CoreWords dictionary 2021-05-11 03:19:54 -05:00
Starfflame 86d380a67e fix indentation issues 2021-05-11 01:58:09 -05:00
Starfflame d86cec723e implement code hygiene fixes 2021-05-11 01:55:13 -05:00