1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
pub mod lexer; pub mod parser; pub mod ast; pub mod compiler; pub mod bytecode; pub mod vm; pub mod stack; // What I will need: // 1. bytecode representation // 2. interpreter // 3. tokenizer, parser, etc. // 4. bytecode compiler // // Major modules: // 1. Lexer // 2. Parser // 3. AST // 4. Compiler // 5. Bytecode // 6. Interpreter