Expand description
rustre_parser is a Rust implementation of a Lustre parser with the ultimate goal of being
entirely compliant with its official specification and OCaml implementation.
Modules§
- Structures and enums to represent Lustre’s syntax tree
- Individual parsers for Lustre’s grammar
Structs§
Enums§
- Marker, non-constructible type that implements
rowan::Languagefor Lustre
Functions§
- Lex a Lustre file into localized Tokens
- Parse a Lustre file’s source code into a syntax tree and a list of parsing errors
Type Aliases§
- rowan’s
SyntaxElementparameterized with the Lustre language marker,LustreLang - rowan’s
SyntaxNodeparameterized with the Lustre language marker,LustreLang - rowan’s
SyntaxTokenparameterized with the Lustre language marker,LustreLang