Mojourney

pmatos / mojo-grimoire

Grimoire: a formal semantics of the Mojo programming language in Lean 4, validated by differential testing against the Mojo compiler

GitHub ↗ · first seen in GH Archive 2026-11-16 (name,search / language) · 183,423 lines of Mojo in 4,231 files at the last of 145 commits (2026-11-15 to 2026-12-01)

Stars1as of 2026-12-01
Forks0as of 2026-12-01
Depends on0Mojo libraries, of 0 declared
Used by0census repos that depend on it
Open issues144
Watchers0
Created2026-11-1516 days ago
Lines of Mojo183,4234,231 files
Commits1452026-11-15 to 2026-12-01
Contributors2commit authors, bots left out
Mojo versionno manifestno manifest or lock file; nothing states a version; ~1.2 by date
CategoryLibraries and toolsapproximate
Toolingnone
Packagingnone
LicenseMIT

Over time

  • 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

Used by Mojo version

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.

[![Used by](https://mojourney.dev/badge/pmatos/mojo-grimoire/used-by.svg)](https://mojourney.dev/repos/pmatos/mojo-grimoire#used-by)
[![Mojo version](https://mojourney.dev/badge/pmatos/mojo-grimoire/mojo.svg)](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

RepoDescriptionSimilarity
dimitrilw/mojo-playgroundPlaying around with Modular's Mojo 🔥 programming language.88%
tramaine-codes/mojo-playgroundProject for exploring the Mojo programming language.87%
TottySnowman/mojo_introductionIntroduction into the Mojo Programming Language87%
RoddyMacintyre/mojo_manualGoing through the Mojo programming language manual86%
binayashrestha/into-to-mojoMojo programming language sample codes86%

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 (WatchEvents) and forks per month in GH Archive, 2023-01 to 2026-11012023-012023-052023-092024-012024-052024-092025-012025-052025-092026-012026-052026-09
  • 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

People with a commit each month, and the ones with their first, 2026-11 to 2026-12022026-112026-12
  • 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 releases or 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

#TitleUpdatedLabelsComments
231Report a signature's error where the compiler resolves the signature2026-11-29 needs-triage4
338Order a comparison's literal operand by its conversion to the other operand's type2026-11-29 agent-ready6
188Concatenate and repeat lists with + and *, as the compiler does2026-11-29 needs-triage2
124Bind ref r = e to a temporary when e is a value, as the compiler does2026-11-29 agent-ready1
387Call a method through its struct's name, as the compiler does2026-11-29 agent-ready0
386Report a list-literal index's misfit before its elements' copies2026-11-28 agent-ready0
177Upstream reports to take to Modular2026-11-28 epic1
261Approve and file the upstream report for an assignment whose value is the target itself (D-0012)2026-11-28 human-ready2
146Approve and file the upstream report for the field-by-field destructor bug (D-0003)2026-11-28 human-ready1
305Check and elaborate nested reference-returning calls in linear time2026-11-27 needs-triage1

Pull requests

#TitleOpenedStateComments
393ci: bump astral-sh/setup-uv from 10.3.3 to 10.4.02026-11-29open0
392fix(check): report a list +'s misfitting literal before its copies2026-11-29merged3
390fix(check): report a Bool's literal misfit before its elements2026-11-29merged2
389fix(check): report an operator method's operand count where a body looks it up2026-11-29merged3
388fix(check): report an operation's own copies before the misfit around it2026-11-29merged3
385fix(check): check a list subscript's index in full before its misfit2026-11-28merged3
384docs: name the native-evaluation axiom in the agent guide2026-11-28merged0
383docs(conformance): note the upstream report and fix that overlap D-00122026-11-28merged0
382ci: run the explorer's tests as a hook2026-11-27merged0
380feat(check): accept a temporary origin argument of a returned reference2026-11-27merged3

Migrations

No migrations recorded

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%

DateCommitTypeSubjectLines of MojoToolingMojo version
2026-12-011a486e86bfFeature +tests +docsfeat(parse): accept an assignment to _ as the compiler does (#404)183,423none–
2026-12-01f2d43cd99cFix +tests +docsfix(parse): call a function or a struct of the program named print (#402)183,278none–
2026-11-302651a043dfFix +tests +docsfix(infer): borrow a bare p^ on a comparison operand (#405)183,168none–
2026-11-3047517c2080Docsdocs(interp): record the store cost of an and/or struct temporary (#397)183,096none–
2026-11-30c42964f849Fix +testsfix(check): check a loop's moves against its condition's next run (#395)183,096none–
2026-11-30e6656ffc26Tests +docstest(conformance): pin the in-place destination check of #204 (#394)182,354none–
2026-11-301b424a1007Build and choresci: bump astral-sh/setup-uv from 10.3.3 to 10.4.0 (#393)182,322none–
2026-11-29bd0c706aceFix +tests +docsfix(check): report a list +'s misfitting literal before its copies (#392)182,322none–
2026-11-29b4b5dad06fFix +tests +docsfix(check): report a Bool's literal misfit before its elements (#390)182,297none–
2026-11-2941a2432c03Fix +tests +docsfix(check): report an operation's own copies before the misfit around it (#388)182,248none–
2026-11-295ee9e7d765Fix +tests +docsfix(check): report an operator method's operand count where a body looks it up (#389)181,942none–
2026-11-292e61a96ca7Fix +tests +docsfix(check): check a list subscript's index in full before its misfit (#385)181,603none–
2026-11-2837ffbd2664Docsdocs: name the native-evaluation axiom in the agent guide (#384)181,321none–
2026-11-283a9f1b136cFeature +tests +docsfeat(check): accept a temporary origin argument of a returned reference (#380)181,321none–
2026-11-28081d962f65Docsdocs(conformance): note the upstream report and fix that overlap D-0012 (#383)180,786none–
2026-11-28e4df012af6Feature +tests +docsfeat(elab): keep a temporary origin argument alive until its last use (#376)180,786none–
2026-11-2725a8db964cBuild and choresci: run the explorer's tests as a hook (#382)180,508none–
2026-11-27eaa18d6755Tests +docstest(conformance): pin and/or operand errors before the result's copy (#375)180,508none–
2026-11-2786f57847c1Fix +tests +docsfix(check): convert the left operand of and and or before the right one (#373)180,233none–
2026-11-2799bdfecf94Feature +testsfeat(explorer): run a program on the compiler and the model side by side (#372)179,863none–
2026-11-27da72dd85fbFix +tests +docsfix(check): report a temporary passed mut as immutablePlace (#365)179,863none–
2026-11-270db50ff4e6Fix +tests +docsfix(check): resolve a struct's declaration and its cycle of arrays in place (#369)179,666none–
2026-11-279cdee352e0Docsdocs: name the generated ctorIdx exception and guard its tests (#368)179,306none–
2026-11-27937380f5f8Build and chores +docsbuild(lean)!: update to Lean 4.36.0 (#355)179,306none–
2026-11-27d2471783efDocsdocs(conformance): note the human's doubt and four cases on D-0014 (#354)179,306none–
2026-11-278943e7d808Tests +docstest(conformance): drop the loose fallbacks no recorded rejection reaches (#344)179,306none–
2026-11-262945927ec5Fix +tests +docsfix(check): order a held-copy literal operand by its conversion (#350)179,306none–
2026-11-2616ee92d51bFeature +tests +docsfeat(check): type a literal passed to len as the compiler does (#349)179,110none–
2026-11-26025d7c4817Docsdocs(decisions): leave the order of two instantiation errors undefined (#345)178,935none–
2026-11-26010785eb9fDocsdocs(conformance): record a literal under a short-circuited or as D-0014 (#348)178,935none–
2026-11-266d5e75f98aFeature +tests +docsfeat(check): remove the bridges to main's order (#342)178,917none–
2026-11-2654c338286dFeature +testsfeat(check): report a declaration's and a value's own errors first (#340)178,535none–
2026-11-26573ca54e30Feature +testsfeat(check): type a place from its variable outward (#336)176,028none–
2026-11-269d45a7a2a6Feature +testsfeat(check): report a call's errors in the compiler's order (#334)173,789none–
2026-11-26547fb7c073Refactor +tests +docsrefactor(check): remove the error-order workarounds (#333)171,342none–
2026-11-26b73c47e7afFeature +tests +docsfeat(check): report instantiation errors in their own phase (#330)171,121none–
2026-11-26e48b2fa551Feature +testsfeat(check): check the type phase in the compiler's order (#327)169,944none–
2026-11-260604e177c9Feature +testsfeat(check): check the flow phase in the compiler's order (#326)165,763none–
2026-11-26b9d3d15cb9Feature +testsfeat(check): report type errors before flow errors across the program (#322)164,507none–
2026-11-25acc98fc429Docsdocs(decisions): say which level the order of array index errors holds at (#332)115,578none–
2026-11-25eb67bd17daFix +tests +docsfix: order an assigned element's index before its value (#307)115,578none–
2026-11-253b9d71b1b8Fix +docsfix(check): reject references that an array subscript invalidates (#312)115,062none–
2026-11-2519b707922bBuild and choreschore: ignore the local Claude Code settings file (#320)115,001none–
2026-11-257b49c709f0Feature +docsfeat(check): class a setter without a getter as missingMethod (#303)115,001none–
2026-11-25efc0f1dcaaTeststest(sweep): commit the probe sweep of #96 (#318)114,989none–
2026-11-250d000bb7acDocsdocs(decisions): one page for the order of errors (#317)12,297none–
2026-11-25a9780b21f9Refactor +docsrefactor(core): keep the declarations in source order (#313)12,297none–
2026-11-256c81834eb4Fix +tests +docsfix(parse): accept every keyword as a method name and after a dot (#297)12,297none–
2026-11-256e8ecc1b4bRefactor +docsrefactor(check): make room in Check/Expr.lean and Check/Stmt.lean (#311)12,274none–
2026-11-25047fa5aa30Fix +tests +docsfix(check): classify a Bool compared with an empty literal as typeMismatch (#301)12,274none–

The latest 50 of 145 commits; all of them are in the JSON.