Skip to main content

Crate bamts_compiler

Crate bamts_compiler 

Source

Re-exports§

pub use script::ScriptCompileError;
pub use script::compile_classic_script;

Modules§

checker
Semantic analysis: the first real checker slice over an immutable SourceFile.
diagnostic
emitter
Deterministic AST-to-JavaScript and declaration emit.
lint
lower
Direct lowering from the runtime TypeScript/JavaScript AST to verified canonical bytecode (bamts_bytecode).
parser
The syntactic parser: a recovered token stream to a recovered SourceFile.
pipeline
Compiler-owned frontend orchestration.
program
Compiler-owned whole-program loading and canonical module identity.
project
rules
scanner
The lexical scanner: total UTF-8 source text to a UTF-16-ranged token stream.
script
Filesystem-free classic-script compilation.
source
syntax
Immutable, parser-owned syntax data.
warning