The reference implementation is 21 packages, one concern each. The dependency direction is strictly downward, so every package can be read on its own.
Each page carries the package's own documentation, the specification sections it implements, its dependencies, and its complete public API.
Lex, parse, AST
@formscript/ast
FormScript abstract syntax tree (specification §4): node definitions for every grammar production.
4, 9.9
@formscript/errors
FormScript error catalogue (specification §14): stable codes, severities and diagnostic objects.
14
@formscript/lexer
FormScript lexer (specification §3): source text to tokens.
3, 3.3, 3.5, 3.6, 3.7, 20
@formscript/parser
FormScript parser (specification §4): tokens to abstract syntax tree.
3.6, 4, 4.14, 6.2
@formscript/spec-lint
Static consistency checker for the FormScript Language Specification.
1, 3.5, 4.14, 14, 20
Types and analysis
@formscript/analyzer
FormScript static analyzer (specification §2.3, §9.4).
2.3, 10.6, 12.6, 14
@formscript/cost
FormScript static cost model and budgets (specification §6.6).
6.6
@formscript/decimal
Exact decimal128 arithmetic with round-half-even (specification §5.6).
5.6, 5.32
@formscript/evaluator
FormScript expression evaluator (specification §6).
6, 6.2, 6.4, 6.5, 6.6
@formscript/profile
FormScript profile pinning (specification §5.6).
5.6, 16
@formscript/scope
FormScript symbol table and lexical scoping (specification §3.4, §6.3).
2.4, 6.3, 6.11
@formscript/types
FormScript type system (specification §5): type lattice, type references, absence and field state.
5, 5.2, 5.3, 5.5
Engine and validation
@formscript/engine
FormScript reactive evaluation engine (specification §9).
4.26, 4.27, 4.28, 4.35, 5.2, 5.5, 5.8, 6.1, 6.3, 7.11, 8.3, 8.5, 8.6, 8.7, 8.8, 8.9, 8.10, 9, 9.1, 9.2, 9.3, 9.4, 9.5, 11
@formscript/validation
FormScript validation model (specification §10).
4.8, 10, 10.1, 10.2, 10.3, 10.4, 10.5, 10.6
Render and runtime
@formscript/a11y
FormScript accessibility metadata (specification §13).
13, 13.3
@formscript/i18n
FormScript internationalization (specification §12).
12, 12.2
@formscript/render
FormScript render intents (specification §15.2).
4.25, 5.1, 7.13, 7.14, 8.1, 8.9, 12.6, 15.2, 15.3
@formscript/render-dom
The DOM binding of FormScript render intents (specification §15.2, §15.3).
5.1, 7.12, 13, 13.4, 13.5, 13.6, 15.2, 15.3
@formscript/runtime
FormScript sources, actions and offline queue (specification §11).
4.10, 8.7, 11, 11.1, 11.2, 11.3