- Add website/serve.lux: static file server using HttpServer effect
- Demonstrates serving the Lux website with Lux itself
- Handles index files, clean URLs, and 404 responses
- Add website/projects/index.html: example projects showcase
- Features 6 real project cards (REST API, Todo App, JSON Parser, etc.)
- Highlights Task Manager API demonstrating all 3 killer features
- Links to full source code in the repository
- Update examples sidebar with Projects section
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Website rebuilt from scratch based on analysis of 11 beloved language
websites (Elm, Zig, Gleam, Swift, Kotlin, Haskell, OCaml, Crystal, Roc,
Rust, Go).
New website structure:
- Homepage with hero, playground, three pillars, install guide
- Language Tour with interactive lessons (hello world, types, effects)
- Examples cookbook with categorized sidebar
- API documentation index
- Installation guide (Nix and source)
- Sleek/noble design (black/gold, serif typography)
Also includes:
- New stdlib/json.lux module for JSON serialization
- Enhanced stdlib/http.lux with middleware and routing
- New string functions (charAt, indexOf, lastIndexOf, repeat)
- LSP improvements (rename, signature help, formatting)
- Package manager transitive dependency resolution
- Updated documentation for effects and stdlib
- New showcase example (task_manager.lux)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>