Skip to content

Latest commit

 

History

History

java

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

YARS-PG Java parser

Usage: java -jar yarspg-java-parser.jar <path-to-yarspg-file> [-t|--tree]
where <path-to-yarspg-file> is the path to the .yarspg file you want to parse.
The optional -t or --tree argument prints the parse tree.

Usage

  1. Build the project:
mvn clean package
  1. Run the parser:
java -jar target/yarspg-java-parser-1.0-SNAPSHOT.jar path/to/file.yarspg

Optionally, you can also print a parse tree:

java -jar target/yarspg-java-parser-1.0-SNAPSHOT.jar path/to/file.yarspg --tree
java -jar target/yarspg-java-parser-1.0-SNAPSHOT.jar path/to/file.yarspg -t