Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 738 Bytes

README.md

File metadata and controls

35 lines (27 loc) · 738 Bytes

OcamlProjections

This project is complementary to JavaParser, where taking the generated file from that project gives us the correct projections of the automaton for every role type that exists in it.

Install

  • ocaml
  • atdgen

Run

*Optional

In the bin folder, produce types and code and also build the executable:

cd bin

To produce projection types definitions:

atdgen -t auto.atd

Build project:

dune build auto.exe 

To run:

cd ../_build/default/bin
./auto.exe  <input_file.json>

Example of generated projections:

project