mikeleppane / mojo-tiktoken
Pure-Mojo rewrite of OpenAI's tiktoken - byte-level BPE with hand-compiled Unicode scanners instead of a regex engine, golden-tested byte-for-byte against the reference.
Over time
2026-07-12 to 2026-07-13; peak 6,107 lines
2026-07-12 to 2026-07-13; 8 commits, counted up by commit date
mojo_issues hasn't read this repository's issues and pull requests yet.
Dependencies
Declared in its manifests at HEAD (toolchain left out): python, regex, tiktoken.
Similar repos
| Repo | Description | Similarity |
|---|---|---|
| Ameyanagi/moji | Unicode text, search, and layout primitives for Mojo. | 86% |
| randyzwitch/regex_mojo | Unicode regular expressions with bounded automata and reusable matchers in pure Mojo | 86% |
| randyzwitch/unicode_mojo | Unicode normalization and alphabetic properties in pure Mojo | 86% |
| muzkr/utm-mojo | Mojo implementation of UTM projection | 84% |
| dmitry-salin/io_uring | The io_uring library for Mojo | 84% |
By the cosine of the embeddings of each repo's name, description and topics: bge-small-en-v1.5 at bbddccb7, from snapshot 3454761910736014829 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
1 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.
Migrations
| Date | What | From | To | Commit |
|---|---|---|---|---|
| 2026-07-12 | mojo_version | – | 1.0.0 | f9d733bf10 |
| 2026-07-12 | tooling | none | pixi | f9d733bf10 |
Commits
Commit types: Mojo version 13% · Build and chores 13% · Other 75%
| Date | Commit | Type | Subject | Lines of Mojo | Tooling | Mojo version |
|---|---|---|---|---|---|---|
| 2026-07-13 | 86b5d72566 | Other | Merge phase-05-perf: SIMD scanner + flat ranks backend, behind proven knobs | 6,107 | pixi | 1.0.0 |
| 2026-07-13 | 77a09eb6d5 | Other | Merge phase-04-api: public API + special tokens | 5,467 | pixi | 1.0.0 |
| 2026-07-13 | 747b2b5233 | Other | Merge phase-03-scanner: hand-compiled pattern scanners | 3,999 | pixi | 1.0.0 |
| 2026-07-12 | e1334016df | Other | Merge phase-02-review-fixes: address the Codex review | 2,388 | pixi | 1.0.0 |
| 2026-07-12 | 22c8d74448 | Other | Merge phase-02-unicode: the Unicode layer (strict decoder, category + whitespace tables) | 2,206 | pixi | 1.0.0 |
| 2026-07-12 | 18d53ee820 | Other | Merge phase-01-bpe-core: the BPE core (loader, encode_piece, decode) | 1,222 | pixi | 1.0.0 |
| 2026-07-12 | f9d733bf10 | Mojo version | Merge phase-00-scaffold: the oracle harness and hermetic CI | 267 | pixi | 1.0.0 |
| 2026-07-12 | 9210d6bcf7 | Build and chores | chore(scaffold): init repo — license, readme stub, gitignore, gitattributes | 0 | none | – |