What programs mean (the languages, translators, Mojo checker and
interpreter, prover, fuzzer, machine model, catalog problems and the Mojo
corpus with godbolt's stored answers) was mixed into the site's tree, so a
change to the prover and a change to a button went through the same gate
and the same docs. This moves all of it under core/, laid out as its own
repository, ready to be extracted with its history and pinned here as a
git submodule.
- core/: src/{engines,services,sync,mojo,exercises,curriculum,common},
mojo/, syntax/mojo.xml, its tests (with Workspace and workForProblem in
place of the site's Session), scripts (corpus pipeline, play, the
exercise and probe starters, engines export/diff), and its docs
(engines, trust, mojo-corpus, exercises, coverage). Its own pixi.toml,
package.json, README, AGENTS.md and CI workflow.
- core/tests/boundary.test.mjs: library modules use no DOM, import no
page widget, and import nothing outside src/.
- core/scripts/cli.mjs: pixi run cli check|run|prove|fuzz|translate.
- core/scripts/dafny.py: Dafny 4.11.0 pinned by version and SHA-256 per
platform, fetched into .tools/ (pixi run dafny-fetch, pixi run dafny).
- The site imports core only as #core/<path>.js: an import map in
index.html, "imports" in package.json for node, core's declarations for
tsc. The site's TypeScript builds core first (npm run build).
- assemble.sh, the Quarto engine copy, the render cache key, check-pages,
quarto-export and quarto-css read core/dist and core/mojo; quarto-css
copies core's syntax/mojo.xml into the extension.
- Site tests that covered engines moved to core; the rest keep Session.
- README, AGENTS.md, docs/app.md, docs/deploy.md and the CI workflow
describe the split (checkout with submodules; core's tests and corpus
status run against the pinned commit).
Gate: site 110 pass; core 307 pass; corpus status --strict passes.
Manual check: the assembled site opens Bridge (count-base-proved),
Developer and Hardware (count-base) with the editor, the stepper and the
board, and no module errors.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FgvbRdoEheAHqsRmr2WuKZ
2.8 KiB
2.8 KiB
Mojo corpus sources (Mojo 1.1.0, mojo_1_1_0)
Generated by python3 scripts/mojo/corpus.py harvest. Do not edit: change mojo/pin.json and re-harvest.
Every item in the corpus records the same provenance per file in its manifest.
| source | repository | from | zip sha256 | licence |
|---|---|---|---|---|
| modular | modular/modular | commit c6fa49f712fe (mojo/v1.1.0) |
5220972c0e4d2a44 |
Apache-2.0 WITH LLVM-exception (per file headers; confirm the docs carry the same licence) |
| mojo-quest | modular/mojo-quest (unconfirmed) | commit 3576e6105381 (3576e6105381bb6f956f405408ea8202ddf1eb6e) |
8b64817dbe07aa13 |
Apache-2.0 WITH LLVM-exception per file headers; the repo has no LICENSE file, so confirm with Modular before showing exercises to students |
| mojo-syntax | modular/mojo-syntax | commit 48cdeac4f6b5 (48cdeac4f6b542e0b50666a5725fdfadf6188836) |
2c6ec7c70921e361 |
MIT |
| skills | modular/skills | commit 0288f88deff5 (0288f88deff5e4d936ed1b84db125f2b9bafc0d1) |
7511fa319866022e |
Apache-2.0 WITH LLVM-exception |
| vscode-mojo | modular/vscode-mojo | commit e60719a9fed8 (e60719a9fed899466072fef4b499041f9c4247ad) |
3202b75dab3756a0 |
Apache-2.0 |
What each processor found
- quest: tickets 85, items 170, byExpectation {'pass': 85, 'fail': 85}, runChecks 78
- manual: codeSamples 169, snippets 31, skippedNewer 0
- diagnostics: files 174, annotations 2620, byPass {'other': 38, 'lifetimes': 9, 'parser': 127}, byKind {'error': 1644, 'note': 827, 'warning': 149}, maybeReproducible 132
- tokens: keywords 61, publicKeywords 47, punctuation 49, softKeywords 6, removedSoft ['fn', 'read'], decorators 11, prelude 160
- messages: messages 716, withFixits 23, byPass {'parser': 682, 'lifetimes': 34}
- release: snapshot same, newestRelease 1.1.0, sections 32, nightlyEntries 0
- syntax: cases 30, files 2, flaggedOlder 2
- editor: extensionVersion 26.6.1, extensions ['.mojo', '.🔥'], hasIndentationRules True
- skill: entries 30
- stdindex: names 633, ambiguous 38, packages 42, raisingPrelude 5
Notes from the pin
- modular: The compiler, stdlib, manual, release notes, and compiler tests. Mojo releases are tagged mojo/vX.Y.Z in this repository (the platform's own tags are modular/vX.Y). Only the stdlib and the release notes are required to be present; a processor whose inputs are missing at a ref (the compiler sources, say) is skipped with a warning and keeps its previous output.
- mojo-quest: Mojo Quest pins mojo_1_1_0 itself (src/lib/compile.ts), so its main branch at a commit where that is still true is the right ref. The repository name is inferred: the zip carries no remote URL.
- skills: The skill targets the latest Mojo, which can be ahead of the pin; its table is a list of candidates, not a ruling.