-
Notifications
You must be signed in to change notification settings - Fork 0
Learning Path 30 Min
Simon B.Stirling edited this page Mar 2, 2026
·
1 revision
I use this as the shortest deterministic path to become productive with L0.
Read:
docs/HOW_TO_WRITE_L0.mddocs/LLM_QUICK_REFERENCE.md
Goal:
- understand section order, id families, and instruction line forms.
Run:
./bin/l0c verify docs/examples/01_arithmetic_add_wrap.l0
./bin/l0c build docs/examples/01_arithmetic_add_wrap.l0 /tmp/l0_lp_add.img
./bin/l0c run /tmp/l0_lp_add.img 5 8Goal:
- see verify/build/run loop and expected numeric output.
Run:
./bin/l0c verify docs/examples/03_control_cbr_select.l0
./bin/l0c build docs/examples/03_control_cbr_select.l0 /tmp/l0_lp_cbr.img
./bin/l0c run /tmp/l0_lp_cbr.img 1
./bin/l0c run /tmp/l0_lp_cbr.img 0Goal:
- see
icmp.eq + cbrbehavior and block-level control flow.
Run:
./bin/l0c verify docs/examples/04_memory_roundtrip.l0
./bin/l0c verify docs/examples/06_call_add_two_function.l0Goal:
- understand memory/call shapes that verifier accepts.
Run:
./bin/l0c build docs/examples/10_intrinsic_trace.l0 /tmp/l0_lp_trace.img --debug-map /tmp/l0_lp_trace.map --trace-schema /tmp/l0_lp_trace.schema
./bin/l0c run /tmp/l0_lp_trace.img 123 >/tmp/l0_lp_trace.out 2>/tmp/l0_lp_trace.bin
./bin/l0c tracejoin /tmp/l0_lp_trace.bin /tmp/l0_lp_trace.mapGoal:
- map runtime trace values to instruction ranges.
Read:
docs/ERROR_MODEL.mddocs/COMPATIBILITY_POLICY.mddocs/PRODUCTION_READINESS.md
Goal:
- know failure classes and what counts as stable behavior.
- How-To-Write-L0
- Language-Reference
- Instruction-Set
- CLI-and-Compiler-Spec
- Implementable-Spec
- Command-Reference
- Examples-Catalog
- LLM-Quick-Reference
- Opcode-Examples
- LLM-Doc-Index