Crate rustre_parser
source ·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::Language
for 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
SyntaxElement
parameterized with the Lustre language marker,LustreLang
- rowan’s
SyntaxNode
parameterized with the Lustre language marker,LustreLang
- rowan’s
SyntaxToken
parameterized with the Lustre language marker,LustreLang