An interpreter for a frozen subset of Serene, written in Idris2. Its only job is to run stage1, the real Serene compiler written in Serene, until stage1 can compile itself.
The interpreter parses type annotations and drops them. It never checks types.
All commands run from inside lscz/ (use nix develop for the toolchain):
idris2 --typecheck lscz.ipkg # fastest check
idris2 --build tests.ipkg # build the test suite
./build/exec/lscz-tests # run it
Serene.Reader reads source text into Syntax.Serene.Core holds source locations, errors and the Result monad shared by
every step.