pmatos / mojo-grimoire
Grimoire: a formal semantics of the Mojo programming language in Lean 4, validated by differential testing against the Mojo compiler
Over time
2026-11-15 to 2026-12-01; peak 183,423 lines
2026-11-15 to 2026-12-01; 145 commits, counted up by commit date
- Opened 393
- Closed or merged 256
2026-11-15 to 2026-11-29; 393 issues and pull requests opened (253 issues, 140 pull requests), from GitHub by mojo_issues
Dependencies
No census repo depends on it yet.
Badges
For this repo's README: how many census repos depend on it, directly or through a fork, and the Mojo version the census read. They update with the census, about an hour behind.
[](https://mojourney.dev/repos/pmatos/mojo-grimoire#used-by)
[](https://mojourney.dev/repos/pmatos/mojo-grimoire)Styled through shields.io instead: https://img.shields.io/endpoint?url=https://mojourney.dev/badge/pmatos/mojo-grimoire/used-by.json (or mojo.json).
Similar repos
| Repo | Description | Similarity |
|---|---|---|
| dimitrilw/mojo-playground | Playing around with Modular's Mojo 🔥 programming language. | 88% |
| tramaine-codes/mojo-playground | Project for exploring the Mojo programming language. | 87% |
| TottySnowman/mojo_introduction | Introduction into the Mojo Programming Language | 87% |
| RoddyMacintyre/mojo_manual | Going through the Mojo programming language manual | 86% |
| binayashrestha/into-to-mojo | Mojo programming language sample codes | 86% |
By the cosine of the embeddings of each repo's name, description and topics: bge-small-en-v1.5 at bbddccb7, from snapshot 9091232813091070635 of mojo.repo_embeddings, which mojo_embed writes.
Stars per month
- stars
- forks
0 stars over the months of GH Archive loaded so far (47; months in between aren't loaded yet), counted from its events.
Contributors per month
- contributors
- new
2 people authored or co-authored its commits (every commit reachable from HEAD, Co-authored-by trailers included, bots left out), counted by email.
Releases and tags
No published release in the GH Archive days loaded, and no git tag in the clone.
Issues and pull requests
136 open and 117 closed issues; 1 open, 137 merged and 2 closed pull requests, from GitHub by mojo_issues.
Open issues
| # | Title | Updated | Labels | Comments |
|---|---|---|---|---|
| 231 | Report a signature's error where the compiler resolves the signature | 2026-11-29 | needs-triage | 4 |
| 338 | Order a comparison's literal operand by its conversion to the other operand's type | 2026-11-29 | agent-ready | 6 |
| 188 | Concatenate and repeat lists with + and *, as the compiler does | 2026-11-29 | needs-triage | 2 |
| 124 | Bind ref r = e to a temporary when e is a value, as the compiler does | 2026-11-29 | agent-ready | 1 |
| 387 | Call a method through its struct's name, as the compiler does | 2026-11-29 | agent-ready | 0 |
| 386 | Report a list-literal index's misfit before its elements' copies | 2026-11-28 | agent-ready | 0 |
| 177 | Upstream reports to take to Modular | 2026-11-28 | epic | 1 |
| 261 | Approve and file the upstream report for an assignment whose value is the target itself (D-0012) | 2026-11-28 | human-ready | 2 |
| 146 | Approve and file the upstream report for the field-by-field destructor bug (D-0003) | 2026-11-28 | human-ready | 1 |
| 305 | Check and elaborate nested reference-returning calls in linear time | 2026-11-27 | needs-triage | 1 |
Pull requests
| # | Title | Opened | State | Comments |
|---|---|---|---|---|
| 393 | ci: bump astral-sh/setup-uv from 10.3.3 to 10.4.0 | 2026-11-29 | open | 0 |
| 392 | fix(check): report a list +'s misfitting literal before its copies | 2026-11-29 | merged | 3 |
| 390 | fix(check): report a Bool's literal misfit before its elements | 2026-11-29 | merged | 2 |
| 389 | fix(check): report an operator method's operand count where a body looks it up | 2026-11-29 | merged | 3 |
| 388 | fix(check): report an operation's own copies before the misfit around it | 2026-11-29 | merged | 3 |
| 385 | fix(check): check a list subscript's index in full before its misfit | 2026-11-28 | merged | 3 |
| 384 | docs: name the native-evaluation axiom in the agent guide | 2026-11-28 | merged | 0 |
| 383 | docs(conformance): note the upstream report and fix that overlap D-0012 | 2026-11-28 | merged | 0 |
| 382 | ci: run the explorer's tests as a hook | 2026-11-27 | merged | 0 |
| 380 | feat(check): accept a temporary origin argument of a returned reference | 2026-11-27 | merged | 3 |
Migrations
No change of Mojo version or tooling between the commits read so far.
Commits
Commit types: Feature 34% · Fix 28% · Mojo version 1% · Refactor 3% · Performance 1% · Docs 24% · Tests 6% · Build and chores 3% · Merge 1%
| Date | Commit | Type | Subject | Lines of Mojo | Tooling | Mojo version |
|---|---|---|---|---|---|---|
| 2026-12-01 | 1a486e86bf | Feature +tests +docs | feat(parse): accept an assignment to _ as the compiler does (#404) | 183,423 | none | – |
| 2026-12-01 | f2d43cd99c | Fix +tests +docs | fix(parse): call a function or a struct of the program named print (#402) | 183,278 | none | – |
| 2026-11-30 | 2651a043df | Fix +tests +docs | fix(infer): borrow a bare p^ on a comparison operand (#405) | 183,168 | none | – |
| 2026-11-30 | 47517c2080 | Docs | docs(interp): record the store cost of an and/or struct temporary (#397) | 183,096 | none | – |
| 2026-11-30 | c42964f849 | Fix +tests | fix(check): check a loop's moves against its condition's next run (#395) | 183,096 | none | – |
| 2026-11-30 | e6656ffc26 | Tests +docs | test(conformance): pin the in-place destination check of #204 (#394) | 182,354 | none | – |
| 2026-11-30 | 1b424a1007 | Build and chores | ci: bump astral-sh/setup-uv from 10.3.3 to 10.4.0 (#393) | 182,322 | none | – |
| 2026-11-29 | bd0c706ace | Fix +tests +docs | fix(check): report a list +'s misfitting literal before its copies (#392) | 182,322 | none | – |
| 2026-11-29 | b4b5dad06f | Fix +tests +docs | fix(check): report a Bool's literal misfit before its elements (#390) | 182,297 | none | – |
| 2026-11-29 | 41a2432c03 | Fix +tests +docs | fix(check): report an operation's own copies before the misfit around it (#388) | 182,248 | none | – |
| 2026-11-29 | 5ee9e7d765 | Fix +tests +docs | fix(check): report an operator method's operand count where a body looks it up (#389) | 181,942 | none | – |
| 2026-11-29 | 2e61a96ca7 | Fix +tests +docs | fix(check): check a list subscript's index in full before its misfit (#385) | 181,603 | none | – |
| 2026-11-28 | 37ffbd2664 | Docs | docs: name the native-evaluation axiom in the agent guide (#384) | 181,321 | none | – |
| 2026-11-28 | 3a9f1b136c | Feature +tests +docs | feat(check): accept a temporary origin argument of a returned reference (#380) | 181,321 | none | – |
| 2026-11-28 | 081d962f65 | Docs | docs(conformance): note the upstream report and fix that overlap D-0012 (#383) | 180,786 | none | – |
| 2026-11-28 | e4df012af6 | Feature +tests +docs | feat(elab): keep a temporary origin argument alive until its last use (#376) | 180,786 | none | – |
| 2026-11-27 | 25a8db964c | Build and chores | ci: run the explorer's tests as a hook (#382) | 180,508 | none | – |
| 2026-11-27 | eaa18d6755 | Tests +docs | test(conformance): pin and/or operand errors before the result's copy (#375) | 180,508 | none | – |
| 2026-11-27 | 86f57847c1 | Fix +tests +docs | fix(check): convert the left operand of and and or before the right one (#373) | 180,233 | none | – |
| 2026-11-27 | 99bdfecf94 | Feature +tests | feat(explorer): run a program on the compiler and the model side by side (#372) | 179,863 | none | – |
| 2026-11-27 | da72dd85fb | Fix +tests +docs | fix(check): report a temporary passed mut as immutablePlace (#365) | 179,863 | none | – |
| 2026-11-27 | 0db50ff4e6 | Fix +tests +docs | fix(check): resolve a struct's declaration and its cycle of arrays in place (#369) | 179,666 | none | – |
| 2026-11-27 | 9cdee352e0 | Docs | docs: name the generated ctorIdx exception and guard its tests (#368) | 179,306 | none | – |
| 2026-11-27 | 937380f5f8 | Build and chores +docs | build(lean)!: update to Lean 4.36.0 (#355) | 179,306 | none | – |
| 2026-11-27 | d2471783ef | Docs | docs(conformance): note the human's doubt and four cases on D-0014 (#354) | 179,306 | none | – |
| 2026-11-27 | 8943e7d808 | Tests +docs | test(conformance): drop the loose fallbacks no recorded rejection reaches (#344) | 179,306 | none | – |
| 2026-11-26 | 2945927ec5 | Fix +tests +docs | fix(check): order a held-copy literal operand by its conversion (#350) | 179,306 | none | – |
| 2026-11-26 | 16ee92d51b | Feature +tests +docs | feat(check): type a literal passed to len as the compiler does (#349) | 179,110 | none | – |
| 2026-11-26 | 025d7c4817 | Docs | docs(decisions): leave the order of two instantiation errors undefined (#345) | 178,935 | none | – |
| 2026-11-26 | 010785eb9f | Docs | docs(conformance): record a literal under a short-circuited or as D-0014 (#348) | 178,935 | none | – |
| 2026-11-26 | 6d5e75f98a | Feature +tests +docs | feat(check): remove the bridges to main's order (#342) | 178,917 | none | – |
| 2026-11-26 | 54c338286d | Feature +tests | feat(check): report a declaration's and a value's own errors first (#340) | 178,535 | none | – |
| 2026-11-26 | 573ca54e30 | Feature +tests | feat(check): type a place from its variable outward (#336) | 176,028 | none | – |
| 2026-11-26 | 9d45a7a2a6 | Feature +tests | feat(check): report a call's errors in the compiler's order (#334) | 173,789 | none | – |
| 2026-11-26 | 547fb7c073 | Refactor +tests +docs | refactor(check): remove the error-order workarounds (#333) | 171,342 | none | – |
| 2026-11-26 | b73c47e7af | Feature +tests +docs | feat(check): report instantiation errors in their own phase (#330) | 171,121 | none | – |
| 2026-11-26 | e48b2fa551 | Feature +tests | feat(check): check the type phase in the compiler's order (#327) | 169,944 | none | – |
| 2026-11-26 | 0604e177c9 | Feature +tests | feat(check): check the flow phase in the compiler's order (#326) | 165,763 | none | – |
| 2026-11-26 | b9d3d15cb9 | Feature +tests | feat(check): report type errors before flow errors across the program (#322) | 164,507 | none | – |
| 2026-11-25 | acc98fc429 | Docs | docs(decisions): say which level the order of array index errors holds at (#332) | 115,578 | none | – |
| 2026-11-25 | eb67bd17da | Fix +tests +docs | fix: order an assigned element's index before its value (#307) | 115,578 | none | – |
| 2026-11-25 | 3b9d71b1b8 | Fix +docs | fix(check): reject references that an array subscript invalidates (#312) | 115,062 | none | – |
| 2026-11-25 | 19b707922b | Build and chores | chore: ignore the local Claude Code settings file (#320) | 115,001 | none | – |
| 2026-11-25 | 7b49c709f0 | Feature +docs | feat(check): class a setter without a getter as missingMethod (#303) | 115,001 | none | – |
| 2026-11-25 | efc0f1dcaa | Tests | test(sweep): commit the probe sweep of #96 (#318) | 114,989 | none | – |
| 2026-11-25 | 0d000bb7ac | Docs | docs(decisions): one page for the order of errors (#317) | 12,297 | none | – |
| 2026-11-25 | a9780b21f9 | Refactor +docs | refactor(core): keep the declarations in source order (#313) | 12,297 | none | – |
| 2026-11-25 | 6c81834eb4 | Fix +tests +docs | fix(parse): accept every keyword as a method name and after a dot (#297) | 12,297 | none | – |
| 2026-11-25 | 6e8ecc1b4b | Refactor +docs | refactor(check): make room in Check/Expr.lean and Check/Stmt.lean (#311) | 12,274 | none | – |
| 2026-11-25 | 047fa5aa30 | Fix +tests +docs | fix(check): classify a Bool compared with an empty literal as typeMismatch (#301) | 12,274 | none | – |
The latest 50 of 145 commits; all of them are in the JSON.