modparc package

Submodules

modparc.parse module

parse

High-level helper functions for the package

modparc.parse.parse(source_code)[source]

Parse Modelica source code and return the parsed structure

Parameters:source_code – code lines to be parsed
Returns:an instance of StoredDefinition
modparc.parse.parse_file(source_file)[source]

Parse Modelica source file and return the parsed structure

Parameters:source_file – Modelica source code file
Returns:an instance of StoredDefinition

modparc.specification module

specification

Constants used in the library according to the specification

Module contents

modparc

A Modelica parser using parser combinator.