No description
  • TypeScript 66%
  • Svelte 33.9%
Find a file
2026-03-20 11:59:57 -05:00
.github/workflows Add GitHub Pages deployment via CI workflow 2026-03-20 09:24:22 -05:00
.vscode Initial scaffold: Vite + Svelte 5 + TypeScript + Tailwind CSS v4 2026-03-19 21:10:21 -05:00
public Initial scaffold: Vite + Svelte 5 + TypeScript + Tailwind CSS v4 2026-03-19 21:10:21 -05:00
src Fix Svelte 5 $state type narrowing error 2026-03-20 10:38:59 -05:00
.gitignore Initial scaffold: Vite + Svelte 5 + TypeScript + Tailwind CSS v4 2026-03-19 21:10:21 -05:00
AGENTS.md Add an AGENTS.md 2026-03-20 07:35:01 -05:00
bun.lock Fix title 2026-03-20 11:59:57 -05:00
HOMEWORK_PROGRAMS.md Initial scaffold: Vite + Svelte 5 + TypeScript + Tailwind CSS v4 2026-03-19 21:10:21 -05:00
index.html Fix title 2026-03-20 11:59:57 -05:00
package.json Add an AGENTS.md 2026-03-20 07:35:01 -05:00
README.md Add a basic README 2026-03-20 11:58:45 -05:00
svelte.config.js Initial scaffold: Vite + Svelte 5 + TypeScript + Tailwind CSS v4 2026-03-19 21:10:21 -05:00
test-multi-cpu-expected.json Fix multi-cpu RNG and FFS symbol list bugs, add cross-validation tests 2026-03-20 07:49:06 -05:00
tsconfig.app.json Initial scaffold: Vite + Svelte 5 + TypeScript + Tailwind CSS v4 2026-03-19 21:10:21 -05:00
tsconfig.json Initial scaffold: Vite + Svelte 5 + TypeScript + Tailwind CSS v4 2026-03-19 21:10:21 -05:00
tsconfig.node.json Initial scaffold: Vite + Svelte 5 + TypeScript + Tailwind CSS v4 2026-03-19 21:10:21 -05:00
vite.config.ts Add GitHub Pages deployment via CI workflow 2026-03-20 09:24:22 -05:00
vitest.config.ts Add all 23 OSTEP homework simulators as interactive web pages 2026-03-20 06:47:44 -05:00

OSTEP homework: web version

The OSTEP textbook (Operating Systems: Three Easy Pieces) has accompanying "homeworks," which are small programs associated with various chapters that illustrate the concepts, often in the form of simulators.

This is a port of the OSTEP homework code to the web.

The port was generated almost entirely by Claude Code, using Opus 4.6.

Developing

We use bun:

bun install
bun run dev   # dev server
bun run build # production build

The core logic of each homework is written in TypeScript (with tests checking that it matches the original Python code from ostep-homework). The web UI part is written in Svelte and Tailwind CSS.