Commit Graph

7 Commits

Author SHA1 Message Date
ec6c1ce5aa Now supports strings.
git-svn-id: https://svn.tlawal.org/svn/monkey@63 f6afcba9-9ef1-4bdd-9b72-7484f5705bac
2023-05-09 19:59:18 +00:00
4f3ef7d314 Interpreter complete.
git-svn-id: https://svn.tlawal.org/svn/monkey@62 f6afcba9-9ef1-4bdd-9b72-7484f5705bac
2023-05-05 19:15:39 +00:00
ef88c389f0 Adding Support for arrays. TESTs do not pass, need to fix.
git-svn-id: https://svn.tlawal.org/svn/monkey@60 f6afcba9-9ef1-4bdd-9b72-7484f5705bac
2022-11-24 20:02:19 +00:00
2791a27f1f Built-in datatypes: Added String
The parser now understands what a strings is and can take a string literal and curn out an Stringliteral AST
nodes.



git-svn-id: https://svn.tlawal.org/svn/monkey@56 f6afcba9-9ef1-4bdd-9b72-7484f5705bac
2022-11-03 11:11:42 +00:00
4a3edec5e6 git-svn-id: https://svn.tlawal.org/svn/monkey@18 f6afcba9-9ef1-4bdd-9b72-7484f5705bac 2022-05-26 19:20:51 +00:00
cebc052f32 - The lexer can now peek forward into the input stream.
- Added the rest of the basic math operators.
- Added > and <.
- Test, Test, Test.
- Added if, else, return, true, false.
- Lexer can now differentiate between '=' and '==' and '!' and '!='.

git-svn-id: https://svn.tlawal.org/svn/monkey@2 f6afcba9-9ef1-4bdd-9b72-7484f5705bac
2022-05-12 22:04:29 +00:00
44d9b2c7ec Monkey can now lex its basic types and keywords.
git-svn-id: https://svn.tlawal.org/svn/monkey@1 f6afcba9-9ef1-4bdd-9b72-7484f5705bac
2022-05-12 20:51:16 +00:00