This site is version 0.0.1. Most of the code on this site is drafted by an agent and needs review. I apologize for the AI-speak, we are working on rewriting it!
viv-lang.org

Notebooks · lib/corpus

The speedrun's training text

Generated by tools/make_corpus.mjs. 32768 characters of this repository's own numerical library — schur.viv, are.viv, lyap.viv, svd.viv, chain.viv, nn.viv, polar.viv — with the prose headers removed, so what is left is 88 distinct characters of Viv source and nothing else.

A character model trained on it has to learn where a brace closes, that def is followed by a name and a parenthesis, and that a # runs to the end of the line. Those are things a reader can check by looking, which is the point of training on a language rather than on prose.

Edit tools/make_corpus.mjs and run it again; do not edit this file.

Look inside this program

  • Atlas

    The program’s map: every function and which calls which.

  • There’s no recorded run of this program yet.

Shift+Enter in a cell runs it and moves to the next. Running a cell runs every cell above it too, as one program.

[1]lines 18–56