typeshiv0.1.0

how it's built.

one Rust crate, compiled twice: once for your terminal, once for this tab. no server, no accounts, no cap. here's the whole stack, ser.

from .shi to your screen

  1. you write slang.typeshi reads .shi as Rust tokens, so every error keeps your file, line and column.29 keywords
  2. it writes Anchor.the slang becomes plain Rust in a lib.rs next to your .shi. typeshi build hands it to anchor build.typeshi v0.1.0
  3. same crate, in your tab.built for wasm32, it runs in a web worker, so typing never waits on it. your code never leaves the browser.221 KB gzipped
  4. printed ahead of time.Next.js renders every page and its share card at build. Vercel serves the files. there is no server code.31 pages

the stack

the compiler

Rust2021 edition
builds on Rust 1.85 and up, checked on every pull request.
proc-macro21.0.107
reads .shi as Rust tokens, with real lines and columns.
syn3.0.10
parses the Rust it writes.
prettyplease0.3.0
prints it like a human wrote it.
Anchor1.2
the Solana framework the output is for.

the browser

wasm-bindgen0.2.130
the same crate as the CLI, as 583 KB of WebAssembly.
Web Worker
the compiler runs off the main thread. no worker, it falls back to the page.
CodeMirror6.43.15
the editor. its keyword lists come from the VS Code grammar in the repo.

the site

Next.js16.4.6
every page made ahead of time.
React19.3.1
the playground, the tour, the theme switch.
TypeScript7.0.2
strict, everywhere in the site.
Geist, Geist Mono
self-hosted, variable, cut to Latin: 64 KB for both.
next/og
draws each page's share card at build, from the same compiler output the page shows.

checks and shipping

Playwright1.65.1
the built site on a desktop and a phone.
axe-core4.14.0
accessibility on every page, in both themes.
GitHub Actions
every check below, on every pull request.
Dependabot
crates, npm packages and actions, bumped as pull requests.
Vercel
builds main and serves it.

the design system

every color, type step, space step, corner and duration is a token: W3C design tokens (DTCG 2025.10) in, 118 CSS variables out. dark by default, a light theme, more contrast when your system asks. a test fails on any value set by hand.

  • limewagmi. it worked, and the one button.
  • redngmi. errors and banned moves.
  • ambera warning.
  • violeta keyword, in the editor.
Geist reading and headings.
Geist Mono what you type and what it prints.
the mark the header's fn, drawn from Geist Mono's own outlines into every icon a browser or phone asks for.

what keeps it honest

on every pull request, before anything ships. a joke language, built like it isn't one.

  1. cargo fmtevery file formatted the one way rustfmt likes.
  2. cargo clippywith -D warnings: not one warning. not even a small one.
  3. cargo testevery keyword, every banned move, the CLI, the editor grammar, and the README pictures against what the compiler says today.
  4. Rust 1.85the oldest Rust it promises to build on.
  5. the syncbefore every build: the wasm has to write the committed example lib.rs byte for byte, and every lesson has to fail before you start and pass with its solution.
  6. npm testthe tokens match their JSON, nothing sets a color or size by hand, every text pair passes WCAG 2.2 AA in every theme, the icons match their drawing.
  7. npm run e2ea desktop and a phone: axe in both themes, nothing scrolls sideways from 320 to 430 px even after you type, no field under 16 px on a touch screen (iOS would zoom), 44 px tap targets, the real compiler answering.

for robots, and the curious