You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 19, 2026. It is now read-only.
This means that we should provide tools to work with the bytecode, inspect it, and debug it. Ideally both in binary and text format, and converting between them quickly.
Bytecode
Define a text format -- leaning towards S-expressions, like WebAssembly's .wat
Define a binary format -- open to ideas
Tools
lam validate -- can validate bytecode in text and binary format
lam text-to-bin and lam bin-to-text -- translate bytecode between text and binary format
lam inspect -- meta information about the provided bytecode
lam compile -- should emit DWARF debug symbols by default, but drop 'em with a --release flag
lam debug -- should start a step-debugger for a LAM program
One of the goals of LAM is to be easy to target.
This means that we should provide tools to work with the bytecode, inspect it, and debug it. Ideally both in binary and text format, and converting between them quickly.
Bytecode
Tools
lam validate-- can validate bytecode in text and binary formatlam text-to-binandlam bin-to-text-- translate bytecode between text and binary formatlam inspect-- meta information about the provided bytecodelam compile-- should emit DWARF debug symbols by default, but drop 'em with a--releaseflaglam debug-- should start a step-debugger for a LAM program