add ast generator in java

This commit is contained in:
Sebastian Hugentobler 2025-02-08 10:21:26 +01:00
parent a257beb170
commit cac74b1c10
4 changed files with 131 additions and 4 deletions

View file

@ -13,7 +13,9 @@ Though my recommendation is to use the provided
Implementation of the tree-walk interpreter in java after the book.
Run `mvn package` to create an executable jar file in the `target` directory and
`mvn exec:java` to get a repl.
`mvn exec:java@jlox` to get a repl.
Run `mvn exec:java@generate-ast` to generate the expression class.
## [Rust implementation](./rust/rox/)