@@ -11,23 +11,23 @@ Cross-platform document editor with format tabs, allowing users to view and edit
1111## Architecture
1212
1313- ** Core** : Rust library with unified AST for format conversion
14- - ** GUI** : Gossamer with ReScript frontend (not TypeScript!)
14+ - ** GUI** : Gossamer with AffineScript frontend (not TypeScript!)
1515- ** TUI** : Ada with AdaCurses (matches git-hud pattern)
1616- ** Storage** : ArangoDB for graph + document hybrid
1717- ** Pipelines** : Nickel for import/export transformations
1818
1919## Language Policy
2020
2121### ALLOWED
22- - ReScript (UI components)
22+ - AffineScript (UI components)
2323- Rust (core, GUI backend)
2424- Ada (TUI)
2525- Nickel (pipelines, config)
2626- Guile Scheme (SCM files)
2727- Deno (runtime)
2828
2929### BANNED - Do Not Use
30- - TypeScript (use ReScript )
30+ - TypeScript (use AffineScript )
3131- Node.js/npm/bun (use Deno)
3232- Go (use Rust)
3333- Python (not applicable here)
@@ -43,11 +43,11 @@ crates/
4343└── formatrix-pipeline/ # Nickel executor
4444
4545tui/src/ # Ada TUI source
46- ui/src/ # ReScript components
46+ ui/src/ # AffineScript components
4747pipelines/ # Nickel pipeline definitions
4848container/ # Wolfi container configs
4949guix/ # Guix channel + packages
50- nix / # Nix flake (fallback)
50+ guix / # Guix flake (fallback)
5151```
5252
5353## Build Commands
@@ -56,7 +56,7 @@ nix/ # Nix flake (fallback)
5656just build # Build all
5757just build-core # Build Rust core only
5858just build-tui # Build Ada TUI only
59- just build-ui # Build ReScript UI only
59+ just build-ui # Build AffineScript UI only
6060just test # Run all tests
6161just fmt # Format all code
6262just lint # Lint all code
@@ -83,9 +83,9 @@ Each format implements:
8383- ` Parser ` trait: raw content → AST
8484- ` Renderer ` trait: AST → raw content
8585
86- ## ReScript Conventions
86+ ## AffineScript Conventions
8787
88- - Use ` @rescript /core ` for stdlib
88+ - Use ` @affinescript /core ` for stdlib
8989- TEA pattern: Model.res, Msg.res, Update logic in App.res
9090- Components in ` src/components/ `
9191- Bindings in ` src/bindings/ `
@@ -102,7 +102,7 @@ Each format implements:
102102``` bash
103103just test-core # Rust unit tests
104104just test-tui # Ada compilation check
105- just test-ui # ReScript tests
105+ just test-ui # AffineScript tests
106106just test-integration # Full integration tests
107107```
108108
0 commit comments