Commit Graph

42 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 b92df463f1 Push interpretation functions to CoreHelpers for later use in TO et al. 2021-07-16 16:56:21 -05:00
Starfflame ecd663320a add support for string literals on data stack 2021-07-12 20:33:19 -05:00
Starfflame ac10418230 removed 'ok' printout prompt 2021-07-12 16:05:38 -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 cb1214dcdb Add tests for DUP 2021-05-23 07:12:10 -05:00
Starfflame 09e42c69d5 Add arithmetic tests for the Forth interpreter. 2021-05-23 06:59:36 -05:00
Starfflame 59b7c5a028 inputstream changes; curr never reads from after the string 2021-05-20 02:00:48 -05:00
Starfflame f432c05216 crappy code 2021-05-19 22:04:04 -05:00
Starfflame c5833e094e Add new tests for inputstreams 2021-05-19 20:21:17 -05:00
Starfflame 253ab538ca update corehelpers to use new istream function names 2021-05-19 01:29:35 -05:00
Starfflame ca93ea00d4 fixed bad code 2021-05-19 01:26:57 -05:00
Starfflame ce6b85a5e7 Add busted tests 2021-05-19 00:41:01 -05:00
Starfflame b88cc3a85e fix inputstream 2021-05-19 00:37:47 -05:00
Starfflame 119da5673d refactor inputstream to make it more easily testable 2021-05-18 23:46:50 -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 e8bcb186e3 Add instruction pointers 2021-05-17 20:59:46 -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 5dc66425f5 Add InputStream type. 2021-05-11 22:58:33 -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
Starfflame ca797f9e49 Added basic WordInfo implementation 2021-05-11 01:01:38 -05:00
Starfflame 41276fde68 Add some things for Dictionaries; expand the definition of ForthState 2021-05-10 20:43:33 -05:00
Starfflame 29952c7355 remove old Stack.tl 2021-05-10 01:33:12 -05:00
Starfflame 01d92a6b8c remove compiled lua files 2021-05-10 01:32:30 -05:00
Starfflame 3f8d8e2bfc Adding some base data structures 2021-05-10 01:23:32 -05:00
Starfflame 601cc43666 add ForthState 2021-04-30 19:58:13 -05:00
Starfflame 77831b50d9 initial commit 2021-04-30 19:54:47 -05:00