Crate erg_parser
source ·Expand description
Implements Parser
for Erg. Parser
parses the source code to generate AST
,
and performs type checking and other optimizations if necessary.
Re-exports
pub use parse::Parser;
pub use parse::ParserRunner;
Modules
- defines
Expr
(Expression, the minimum executing unit of Erg). - Desugaring syntax sugars.
- defines
ParseError
and others. - defines and implements
Lexer
(Tokenizer). - implements
Parser
. - defines
Token
(The minimum unit in the Erg source code that serves as input to the parser).
Macros
- Display the name of the called function for debugging the parser