1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// Each step in the compiler pipeline turns one datatype into another. // loosely: // ~> Source (string) // -> Tokens : lex.rs // -> AST : parse.rs // -> Bytecode : gen.rs // ~> Run (result) : vm.rs pub mod lex; pub mod parse; pub mod gen; mod token; mod ast; mod syntax;