- make sure columns are spit out correctly
- add C-style
/* ... */
comments - comments with columns aren't working correctly
- move out the
pretty-print
capability intostd::fmt::Display
- [BUG] running
print """;
in REPL yields error, e.g.:
This is the LOX interpreter.
Enter statements separated by ENTER.
EXIT with CTRL-D.
> print """;
suposed to print here
[2024-03-08T10:01:04Z DEBUG lox_rs::lox::interpreter::scanner] received: print """;
thread 'main' panicked at src/lox/interpreter/scanner.rs:288:9:
attempt to subtract with overflow
- make persistent env and interpreter for REPL so that variables continue living
- add git precommit hooks locally
- add
rustfmt
gh action for the project - ensure env cloning is correct and performant
- use single source of truth for named function declaration and IIFE
- prevent reassignment of shadow variables
- working variable resolution pass
- error on reassigned variables within same scope
- error on return statements outside of function scope
- 2024-07-08 08:20 need to see how to store references to classes from an instance in parsing
- fix binary comparisons between instances/classes
- escape sequences like this
> print "\"";
==> "