/progLang

Primary LanguageJava

#Getting Started

Generate Java source from grammar files

$> mvn antlr4:antlr4

Running the compiler

Create a jar file with

$> mvn package

Run the jar:

$> java -cp target/progLang-[VERSION]-jar-with-dependencies.jar progLang.Main [SOURCE-FILE]

e.g.

$> java -cp target/progLang-1.0-SNAPSHOT-jar-with-dependencies.jar progLang.Main src/main/examples/ObjectLiteral.progLang