Lom Playground

在浏览器里跑 Lom —— 诊断是产品,修复是闭环。Run 看结构化诊断,Fix 看 --apply 自动修复并写回。

就绪

stdout


    

diagnostics


    
  

Self-hosting demo

Runs entirely in this page (a Web Worker); the four-step chain takes a few seconds.
  1. STEP 1 · selfcomp.wasm compiles self_comp.lom → hex A—
  2. STEP 2 · hex A decoded → wasm bytes B—
  3. STEP 3 · wasm B compiles self_comp.lom again → hex Q—
  4. STEP 4 · hex Q vs preset baseline, char by char—

  

Scope note: the self-hosting engine is the L2 subset — a strict subset of the supported language face. Full-language programs belong in the main engine above. The quine figure (272,925 bytes) matches the repo README.