Commit 97d82185 authored by Niklas Fors's avatar Niklas Fors
Browse files


parent c21aff4e
# RelAST Preprocessor
Run preprocessor on train benchmark (output written to standard output)
Run preprocessor on train benchmark (output written to standard output):
$ ant jar
$ cat 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
$ cat examples/TrainBenchmarkGen.ast
$ cat examples/TrainBenchmarkGen.jadd
Run test cases
Run test cases:
$ cd test
$ make
\ No newline at end of file
$ make
Supported relations:
// Directed relations
A.b -> B;
A.b? -> B;* -> B;
// Bidirectional relations
A.b <-> B.a;
A.b <-> B.a?;
A.b <->*;
A.b? <-> B.a;
A.b? <-> B.a?;
A.b? <->*;* <-> B.a;* <-> B.a?;* <->*;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment