libmya 0.1.0
Library to parse Mya language.
|
Go to the source code of this file.
Functions | |
error_code_t | mya_lexer (module_t *module) |
Make the lexical analysis on the given module. | |
error_code_t | mya_parser (module_t *module) |
Make the syntactical analysis on the given module and construct the AST. | |
error_code_t mya_lexer | ( | module_t * | module | ) |
Make the lexical analysis on the given module.
It will construct the module->tokens
list and maybe registry some errors on module->errors
list.
module | The module for make the lexical analysis. |
Definition at line 53 of file lexer.c.
error_code_t mya_parser | ( | module_t * | module | ) |
Make the syntactical analysis on the given module and construct the AST.
module | The module for make the syntactical analysis. |
Definition at line 9 of file parser.c.