#modelica #parser

modelica-rs

A Rust wrapper for the Modelica standard library. An implementation of rrevenantt's antlr_rust.

6 releases

0.1.5 Dec 30, 2023
0.1.4 Dec 3, 2023
0.1.3 Nov 5, 2023
0.1.2 Oct 29, 2023

#1 in #modelica

MIT license

490KB
10K SLoC

modelica-rs

A library to interact with the Modelica Standard Library using Rust.

This package uses rrevenantt's antlr_rust framework to create an ANTLR-ized Modelica parser in Rust.

TODO

  • Declare basic Modelica elements as Rust structs and enums
  • Connect the ANTLR-created tokens to the Rust structs and enums

lib.rs:

Wrapping the Modelica language in Rust

This crate is a wrapper for the Modelica language, used primarily for modeling physical systems. It is build on the ANTLR code parsing framework via antlr_rust

Dependencies

~4–6MB
~110K SLoC