lenaRB / crml-compiler

Implementation of the CRML to Modelica compiler supported by the ITEA3 EMBRACE project.
8 stars 8 forks source link
compiler crml modelica

crml-compiler

Download it via github actions

Go to: Makefile CI then click on the last green action and download the artifact.

Unzip it to some place and run:

java -jar crml-compiler-all.jar --testsuite

A directory generated/ will be created and for each crml test in the directory above a Modelica file will be created in the generated/ directory.

Build on Linux & MacOS

To build and run the tests of the parser on the crml files

# build the parser/translator and run the tests
make
# to clean the repository
make clean

Build on Windows

To build and run the tests of the parser/translator on the crml files

project-run.bat
REM to clean call: project-clean.bat

CRML specification

The documentation for CRML can be found HERE