Commit a6b8ac0
Therapy.jl-powered docs site with live playground
Replace Documenter.jl docs with Therapy.jl-powered site:
- Same framework as Therapy.jl docs, Julia Purple accent color
- Routes: homepage (with embedded playground iframe), getting-started, API
- Layout: JST wordmark, nav, footer, same warm palette
- Live playground embedded via iframe on homepage
- Old Documenter.jl docs archived to docs-old/
Docs structure:
- docs/app.jl — Therapy.jl App config
- docs/input.css — Tailwind v4 with purple accent
- docs/src/components/Layout.jl — Site layout
- docs/src/routes/ — File-based routing
- docs/src/playground/ — Self-hosted browser compiler (parser+lowerer+infer+codegen)
CI: GitHub Actions builds via julia --project=docs docs/app.jl build,
copies playground to dist, deploys to GitHub Pages.
JST compilation improvements (25+ operations):
- sort, filter, map, copy, reverse, setindex!, deleteat!, in
- lowercase, uppercase, contains, startswith, endswith, split, join, strip
- zeros, ones, fill, parse, reduce, any, all, findfirst
- :sgt_int, :sge_int intrinsics
- Handlers in both compile_invoke AND compile_call (optimized + unoptimized IR)
- contains arg order fix: contains(haystack, needle)
Tests: 13 e2e tests via Node.js — actual output comparison
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent caf7ef6 commit a6b8ac0
35 files changed
Lines changed: 13970 additions & 19 deletions
File tree
- .github/workflows
- docs-old
- playground
- src
- assets
- playground
- docs
- src
- components
- playground
- routes
- api
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 29 | + | |
33 | 30 | | |
34 | | - | |
| 31 | + | |
35 | 32 | | |
36 | 33 | | |
37 | 34 | | |
38 | | - | |
| 35 | + | |
39 | 36 | | |
40 | 37 | | |
41 | 38 | | |
42 | | - | |
| 39 | + | |
43 | 40 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 41 | + | |
49 | 42 | | |
50 | | - | |
51 | | - | |
52 | | - | |
| 43 | + | |
53 | 44 | | |
54 | | - | |
| 45 | + | |
55 | 46 | | |
56 | 47 | | |
57 | 48 | | |
58 | 49 | | |
59 | 50 | | |
60 | 51 | | |
61 | 52 | | |
62 | | - | |
| 53 | + | |
63 | 54 | | |
64 | 55 | | |
65 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments