Files
ww/examples/lisp/lisp.ww
Hojun-Cho c7d9dc92de selfhost: migrate tool sources to directory packages
Build w6a and w6l from package-main directories and expose the wcc backend through a narrow package API so w6c and wwdump no longer import implementation files. Retarget the remaining load-bearing fixtures and example sources to directory packages; retain the one intentional flat compiler collision as an explicitly composed raw unit.
2026-08-12 17:12:03 +09:00

13 lines
342 B
Plaintext

// lisp — entry point. The interpreter lives in the `lispcore` package; this
// file only wires it to `main()` so `ww build lisp.ww` produces the
// REPL binary. The matching tests live in `lisp_test.ww` and pull
// the same module via `use lispcore;`.
package lisp;
import lispcore;
export fn main() i32 = {
return lispcore.repl();
};