Skip to content

Commit 92d016e

Browse files
docs(claude-md): flip ReScript→AffineScript per 2026-05-25 estate language policy (#29)
Per the 2026-05-25 estate language policy (TypeScript/ReScript → AffineScript, tracked at hyperpolymath/standards#252), the .claude/CLAUDE.md language-policy section here names ReScript as the primary application language and as the TypeScript replacement. Flip both to AffineScript. Substitutions applied: - ALLOWED row: ReScript → AffineScript (with target-platform note) - JavaScript-fallback note: ReScript → AffineScript - BANNED replacement row: TypeScript→ReScript → TypeScript→AffineScript - Tauri web-UI: ReScript → AffineScript - Enforcement rule: "Convert existing TS to ReScript" → AffineScript - Enforcement rule: "ReScript for apps" → AffineScript for apps Docs-only change. Refs hyperpolymath/standards#287 (CLAUDE.md docs slice umbrella) and hyperpolymath/standards#252 (parent ReScript→AffineScript migration tracker). Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c3475a2 commit 92d016e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.claude/CLAUDE.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ The following files in `.machine_readable/` contain structured project metadata:
1919

2020
| Language/Tool | Use Case | Notes |
2121
|---------------|----------|-------|
22-
| **ReScript** | Primary application code | Compiles to JS, type-safe |
22+
| **AffineScript** | Primary application code | Affine-typed, compiles to typed-wasm or Deno-ESM |
2323
| **Deno** | Runtime & package management | Replaces Node/npm/bun |
2424
| **Rust** | Performance-critical, systems, WASM | Preferred for CLI tools |
2525
| **Tauri 2.0+** | Mobile apps (iOS/Android) | Rust backend + web UI |
2626
| **Dioxus** | Mobile apps (native UI) | Pure Rust, React-like |
2727
| **Gleam** | Backend services | Runs on BEAM or compiles to JS |
2828
| **Bash/POSIX Shell** | Scripts, automation | Keep minimal |
29-
| **JavaScript** | Only where ReScript cannot | MCP protocol glue, Deno APIs |
29+
| **JavaScript** | Only where AffineScript cannot | MCP protocol glue, Deno APIs |
3030
| **Nickel** | Configuration language | For complex configs |
3131
| **Guile Scheme** | State/meta files | STATE.scm, META.scm, ECOSYSTEM.scm |
3232
| **Julia** | Batch scripts, data processing | Per RSR |
@@ -37,7 +37,7 @@ The following files in `.machine_readable/` contain structured project metadata:
3737

3838
| Banned | Replacement |
3939
|--------|-------------|
40-
| TypeScript | ReScript |
40+
| TypeScript | AffineScript |
4141
| Node.js | Deno |
4242
| npm | Deno |
4343
| Bun | Deno |
@@ -53,18 +53,18 @@ The following files in `.machine_readable/` contain structured project metadata:
5353

5454
**No exceptions for Kotlin/Swift** - use Rust-first approach:
5555

56-
1. **Tauri 2.0+** - Web UI (ReScript) + Rust backend, MIT/Apache-2.0
56+
1. **Tauri 2.0+** - Web UI (AffineScript) + Rust backend, MIT/Apache-2.0
5757
2. **Dioxus** - Pure Rust native UI, MIT/Apache-2.0
5858

5959
Both are FOSS with independent governance (no Big Tech).
6060

6161
### Enforcement Rules
6262

63-
1. **No new TypeScript files** - Convert existing TS to ReScript
63+
1. **No new TypeScript files** - Convert existing TS to AffineScript
6464
2. **No package.json for runtime deps** - Use deno.json imports
6565
3. **No node_modules in production** - Deno caches deps automatically
6666
4. **No Go code** - Use Rust instead
67-
5. **No Python anywhere** - Use Julia for data/batch, Rust for systems, ReScript for apps
67+
5. **No Python anywhere** - Use Julia for data/batch, Rust for systems, AffineScript for apps
6868
6. **No Kotlin/Swift for mobile** - Use Tauri 2.0+ or Dioxus
6969

7070
### Package Management

0 commit comments

Comments
 (0)