There was an error while loading. Please reload this page.
Clone the repository:
git clone https://github.com/RGNC/plingua.git
Use cmake:
cmake
make grammar make compiler make simulator sudo make install
Launch your first example:
/* demo.pli */ @model<example_model> !pattern_a_b { [a --> b]'h; } @model(example_model) = pattern_a_b; def main() { @mu = [ [ [ ]'3 [ ]'4 ]'2 ]'1; @ms(1) += a; [a -> b]'1; }
Now simulate the model with P-Lingua 5.0:
plingua demo.pli -o demo.json -f json
or compile it in XML, JSON or BIN to further use:
plingua demo.pli -o demo.xml -f xml plingua demo.pli -o demo.json -f json plingua demo.pli -o demo.bin -f bin
Have fun with P-Lingua 5.0!