Closed glouw closed 4 years ago
Thanks glouw. The Lox language is fully described here
If you want to read a Lox program, @benhoyt wrote a Lox interpreter in... Lox, LoxLox. It's the only non-trivial program written in Lox that I know of!
You can also look at the Lox snippets that are used to test the interpreter: (https://github.com/munificent/craftinginterpreters/tree/master/test)
Hope this helps!
Well done.
Do you have any examples on how Lox is used? I'm keen on its syntax.