fb25a86b91
Done with the book! Added hash maps and the puts builtin.
...
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2025-01-10 21:09:44 -08:00
59acf6b1a1
Implement strings and partial implementation of arrays (missing index expr eval)
...
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2025-01-10 17:48:54 -08:00
a76f47a7a3
Evaluate function literals and function calls.
...
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2025-01-09 16:33:19 -08:00
500a058ff8
Add variable bindings and references to the evaluator.
...
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2025-01-08 19:41:36 -08:00
8514ead895
Evaluate if and return, error validation.
...
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2025-01-07 18:15:12 -08:00
cf8b0033c9
Introduced the evaluator (and integrated it with the REPL)
...
It supports integer and boolean literals, prefix expressions and infix
expressions with integer operands.
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2025-01-06 18:24:23 -08:00