Language creation, following the amazing www.craftinginterpreters.com course.
- Compile your program:
javac -d build magix/Magix.java
- Run it with an input file:
java -cp build magix/Magix "testFiles/InterpreterTest.magix"
- Run it in REPL:
java -cp build magix/Magix
- You can generate expressions (
magix/Expr.java
) withtool/GenerateAst.java
, run it by typing in your terminal:java tool/GenerateAst.java "./magix"