A Kotlin implementation of the Lox language with grammar extensions to support arrays and static typing.
Goals:
- Lox parser
- Lox interpreter
- Add support for arrays
- Add support for static typing
(We will try to stay as close as the original implementation from the book as possible.)
To compile
./gradlew clean build
To run klox in interactive prompt mode
./klox
To run a klox file
./klox filename
Please refer to grammar.md.