Skip to content
flcromPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Build and understand a tokenizer

This workspace has two linked goals: build a real tokenizer with substantial AI assistance, and turn that implementation journey into a rough CodeCrafters-style challenge whose stages remain small, observable, testable, and teachable.

The learner does not need to type every line. The non-negotiable requirement is conscious ownership: they should understand what each stage adds, trace the important algorithms, inspect the code that AI writes, interpret the evidence, and explain the relevant trade-offs and failure modes.

Current boundary

The repository has completed the workspace, source-orientation, foundations, stack/harness decisions, and all twelve revised implementation stages. Revised Stage 12 keeps source Stage 16 intact: it validates every external boundary and emits one structured error contract. All revised stages are engineering-verified, learner-reviewed, accepted, and checkpointed.

The standalone Markdown challenge is drafted. The next step is learner review for length, clarity, and teaching value, followed by integrated validation and any resulting documentation revision.

Where to start

Before completing a file-changing task, run:

python3 scripts/check_metadata.py

The starter and local challenge interface are:

./your_program.sh
./challenge list
./challenge help

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages