31e348643f
fix: make repl remember variables between invocations
...
I forgot to make environment global between run() function calls.
To fix this, I just create the environment and pass it to interpret()
instead of creating it there
2025-01-13 08:41:04 +04:00
9262620e07
feat: finish chapter 8
...
challenges will be done as well, won't skip them
2025-01-13 08:25:34 +04:00
50a9e062e0
feat: implement expression evaluation(ch.7)
...
baby steps :)
Will do the challenges as well
2025-01-06 07:03:57 +04:00
91cfc0b938
feat: finish chapter 6 (implement a parser)
...
there are challenges, which i wish to do (need to add support for stuff)
2025-01-02 01:14:36 +04:00
5f80dfe498
chapter 5
2024-12-21 02:08:12 +04:00
4df4107b77
fix: use the value from matching instead of unwrapping
2024-11-19 06:58:57 +04:00
cd5fae595c
feat: finish scanning section of the book
2024-11-19 06:57:56 +04:00
02eb6bbc26
feat: implement string and number literals lexing
2024-11-18 06:16:31 +04:00
5988cd84ef
feat: add basic lexing(scanning)
...
just following the Scanning section of the book. Partially implemented
2024-11-16 23:04:16 +04:00