Renyi

Learn

Example corpus#

Complete programs, one per file, that fixed the surface of the language; the test suite parses, checks and formats every one.

Hand-written programs that fix the surface of Renyi before the parser exists. They are the input to the LLM readability test (docs/design/03-readability-test.md) and become the first conformance tests at M1. Every file follows docs/design/02-syntax-sketch.md; python3 tools/lint_examples.py checks the parts a regular expression can see.

The corpus is at its target size of thirty programs. It grows from here only when the readability test or the conformance suite needs a construct that no program covers. Every method and module function the programs call is declared in docs/design/04-stdlib-sketch.md; the lint rejects a call that is not.

View the source of this page