- fix the syntax error generated by import lists
- fix while statement and element redeclaration marks
Significant changes in API.
- Syntax events do not contain any information, except for
Enter
events that carry identifier of the Modelica production - only one function is exposed.
parse()
takes the string input and returns theParsedModelica
object - errors are now represented with a dedicated type called
SyntaxError
Minor ergonomic improvements to syntax events.
- Both
Enter
andExit
events now carry their own indices - Empty productions are no longer discarded
Minor ergonomic improvements to syntax events.
- Correct assignment of closing tokens in
Exit
syntax events
Initial version.