Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lenarb/crml-compiler

Implementation of the CRML to Modelica compiler supported by the ITEA3 EMBRACE project.
https://github.com/lenarb/crml-compiler

compiler crml modelica

Last synced: about 1 month ago
JSON representation

Implementation of the CRML to Modelica compiler supported by the ITEA3 EMBRACE project.

Awesome Lists containing this project

README

        

# crml-compiler

## Download it via github actions

Go to: [![Makefile CI](https://github.com/lenaRB/crml-compiler/actions/workflows/makefile.yml/badge.svg)](https://github.com/lenaRB/crml-compiler/actions/workflows/makefile.yml) 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](https://github.com/lenaRB/crml-compiler/tree/main/language_specification)