Module parser

Source
Expand description

Parser module, containing the AST and type-checking hooked in.

Modules§

ast
The AST (abstract-syntax-tree) types with an integrated type checker.
grammar
Backend of the parser, automatically generated by the LALRPOP crate from grammar files.
scope
Contains the primary scoping structure and various trait implementations.

Functions§

ast_result
Gets the abstract syntax tree generated from the parser of zypo-lib. This function will panic is parsing fails and is intended for developers aiming to implament the parser into code generation.