02-bytecodeok
Structure
fn · h1main
comment
comment
The same .mq.md runs on tree-walk or the bytecode VM:
comment
marqdo run FILE --backend tree
comment
marqdo run FILE --backend bytecode
comment
Output matches on both backends:
call
> print text=Bytecode backend: same program, alternate engine.Functions
Variables
No bindings
Execution
Bytecode backend: same program, alternate engine.
Source
--- title: Bytecode backend description: `--backend bytecode` shares semantics with tree-walk --- # main Milestone: bytecode prototype. The same `.mq.md` runs on tree-walk or the bytecode VM: marqdo run FILE --backend tree marqdo run FILE --backend bytecode Output matches on both backends: > print text=Bytecode backend: same program, alternate engine.
Milestone: bytecode prototype.