Skip to content
Snippets Groups Projects
Commit 97d82185 authored by Niklas Fors's avatar Niklas Fors
Browse files

Update README.md

parent c21aff4e
Branches
Tags
No related merge requests found
# RelAST Preprocessor # RelAST Preprocessor
Run preprocessor on train benchmark (output written to standard output) Run preprocessor on train benchmark (output written to standard output):
$ ant jar $ ant jar
$ cat examples/TrainBenchmark.relast
$ java -jar relast-compiler.jar examples/TrainBenchmark.relast $ java -jar relast-compiler.jar examples/TrainBenchmark.relast
Run preprocessor and write to files Run preprocessor and write output to files:
$ java -jar relast-compiler.jar examples/TrainBenchmark.relast --file $ java -jar relast-compiler.jar examples/TrainBenchmark.relast --file
$ cat examples/TrainBenchmarkGen.ast $ cat examples/TrainBenchmarkGen.ast
$ cat examples/TrainBenchmarkGen.jadd $ cat examples/TrainBenchmarkGen.jadd
Run test cases Run test cases:
$ cd test $ cd test
$ make $ make
Supported relations:
// Directed relations
A.b -> B;
A.b? -> B;
A.bs* -> B;
// Bidirectional relations
A.b <-> B.a;
A.b <-> B.a?;
A.b <-> B.as*;
A.b? <-> B.a;
A.b? <-> B.a?;
A.b? <-> B.as*;
A.bs* <-> B.a;
A.bs* <-> B.a?;
A.bs* <-> B.as*;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment