Commit Graph

7 Commits

Author SHA1 Message Date
6a96a3dd25 Update name change. 2024-08-28 19:31:35 -05:00
7fcea2117f Implemented environments which is just a hash map to keep track of values in the language.
git-svn-id: https://svn.tlawal.org/svn/monkey@52 f6afcba9-9ef1-4bdd-9b72-7484f5705bac
2022-08-19 07:18:37 +00:00
4b67c7d6e1 Implement the "!" evaluation operator
git-svn-id: https://svn.tlawal.org/svn/monkey@46 f6afcba9-9ef1-4bdd-9b72-7484f5705bac
2022-08-08 10:14:14 +00:00
7a319dc03b not needed, at least for now
git-svn-id: https://svn.tlawal.org/svn/monkey@43 f6afcba9-9ef1-4bdd-9b72-7484f5705bac
2022-08-07 14:43:06 +00:00
3b013cd917 Formatting changes.
REPL can now use the parser.

NOTE: REPL currently outputs the parsed tokens because tracing is still turned on.

git-svn-id: https://svn.tlawal.org/svn/monkey@41 f6afcba9-9ef1-4bdd-9b72-7484f5705bac
2022-08-01 16:13:40 +00:00
ee8ab63809 Rename new -> New and next_token -> NextToken, because of go's weird requirement that first letter
of public methods in a package that would be used in another package must be capitalized.

git-svn-id: https://svn.tlawal.org/svn/monkey@4 f6afcba9-9ef1-4bdd-9b72-7484f5705bac
2022-05-12 22:38:47 +00:00
fec8dd9152 Basic READ-EVALUATE-PRINT-LOOP
git-svn-id: https://svn.tlawal.org/svn/monkey@3 f6afcba9-9ef1-4bdd-9b72-7484f5705bac
2022-05-12 22:15:41 +00:00