--- # edu-tufd title: 'Write §3: Exercise 1 — build a character-level tokeniser in Rust' status: completed type: task priority: normal created_at: 2026-03-13T22:01:50Z updated_at: 2026-03-16T02:30:26Z parent: edu-u2w7 --- Implement encode/decode over a fixed character vocabulary. Read a text file, build vocab, encode to integers, decode back. No external crates.