Expand description
Frontend activities regarding Jingo, such as lexing, parsing and the ast.
This is the first major stage in this compiler before it’s handed over to the crate::backend module for codegen and the final stages.
§Process
General flow of frontend components before moving to backend for code generation:
Modules§
- ast
- AST (abstract-syntax-tree) for Jingo, containing the core concepts of infomation structure regarding the compilers internals.
- lexer
- Lexer for Jingo. See scan_code for main lexing capabilities.
- parser
- Parser for Jingo, makes crate::frontend::lexer into an AST (abstract-syntax-tree), the second main stage of a compiler.