Skip to content

Commit 818dc2c

Browse files
committed
minor docs fix
1 parent e0cac39 commit 818dc2c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ARCHITECTURE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ flowchart LR
4242
| ------------- | -------------------------------------------------------------------------------------------------------------------------- |
4343
| **ir** | Canonical expression tree (Expr = Literal \| Sequence \| Alternative \| Optional \| Repeat \| Int \| Float \| Str \| Path) |
4444
| **ir/passes** | Optimization passes: flatten, simplify, canonicalize, remove-empty |
45-
| **bindings** | Solved types (BoundType = scalar \| bool \| count \| literal \| optional \| list \| struct \| union \| nullable) |
45+
| **bindings** | Solved types (BoundType = scalar \| bool \| count \| literal \| optional \| list \| struct \| union) |
4646
| **solver** | IR → Bindings via pattern matching |
4747
| **manifest** | Optional metadata: Project > Package > App |
4848
| **frontend** | Parsers producing IR |
@@ -76,7 +76,7 @@ The IR is the skeleton of the command line; the bindings define the typed interf
7676
| **IR** | Dataclass hierarchy (`Param[T]` with body types) | Algebraic expr tree with `kind` discriminant |
7777
| **Optimization** | Minimal (string merging) | Pass-based pipeline (flatten, simplify, canonicalize) |
7878
| **Type resolution** | Direct mapping in frontend; each backend re-derives types via language provider protocol | Solver produces a universal `BoundType` tree; backends just translate it |
79-
| **Backends** | Python mature, TS/R partial; each implements a complex `LanguageProvider` protocol | All stubs (architecture in place); should be simpler since solver does the heavy lifting |
79+
| **Backends** | Python mature, TS/R partial; each implements a complex `LanguageProvider` protocol | TypeScript + JSON Schema complete; Python/R stubs; simpler since solver does heavy lifting |
8080
| **Output files** | First-class: path templates with param refs, suffix stripping, fallbacks | Not yet modeled to the same degree |
8181

8282
Key Styx 1 features to eventually match:

0 commit comments

Comments
 (0)