Home /Modules/compiler/README.md

README.md

lib/compiler/examples/Very-Senior/README.md · 28 line(s) · markdown

<img align="right" src="https://github.com/mearvk/SLeeLa/blob/master/images/debian/debian-logo.png" width="75" height="75" alt="SLeeLa">

Very Senior — BootstrapCompiler

Goal: design and validate a bootstrap path for a compiler written in SLeeLa. Writing a compiler in SLeeLa does not, by itself, prove it is self-hosting.

Stages

The SLeeLa workbench is an interface; the authoritative native frontend currently remains under /impl/frontend. Keep that distinction in reports until bridge integration and language coverage are proven end-to-end.

Required controls

Pin source revision, compiler version, target, flags, and dependencies. Use clean isolated build directories and explicit output paths. Keep native compilation disabled by default, reject path traversal, validate artifact format and instruction set before VM admission, record hashes, and never execute the generated artifact during compilation.

See BootstrapCompiler.sleela for a state model, not a claim that self-hosting is complete.

Experiments