No description
Find a file
enzotar 9ef28bb53a feat: dependent types — refinement types, type aliases, type annotations
- Lexer: added 'type' and 'where' keywords
- AST: TypeExpr::Refined, Declaration::TypeAlias, LetDecl.type_annotation
- Parser: parse_type_alias_decl, parse_type_expr (Named, Generic, where)
- Type system: Type::Refined, Predicate/PredicateExpr with evaluate_static()
- Errors: RefinementViolation, TypeAliasCycle (Elm-style messages)
- Checker: type alias registry, resolve_type_expr, ast_to_predicate,
  static refinement checking for literal values
- Codegen: Phase 1b runtime guards, predicate_to_js helper

Syntax: type PositiveInt = Int where value > 0
        let count: PositiveInt = 5  -- static check passes
        let count: PositiveInt = -1 -- compile error

118 tests pass (16 in ds-types, 5 new for refinements)
2026-02-26 11:09:33 -08:00
compiler feat: dependent types — refinement types, type aliases, type annotations 2026-02-26 11:09:33 -08:00
engine feat: stream composition API — select, schema, relay filtering 2026-02-26 10:07:47 -08:00
examples feat: dependent types — refinement types, type aliases, type annotations 2026-02-26 11:09:33 -08:00
.gitignore feat: DreamStack compiler foundation — Phase 0/1 2026-02-25 00:03:06 -08:00
BITSTREAM_INTEGRATION.md feat(examples): add streaming-physics.ds, mark all roadmap items complete 2026-02-25 14:53:12 -08:00
Cargo.toml feat(wasm): add ds-stream-wasm crate — browser codec via WebAssembly 2026-02-25 14:45:51 -08:00
DREAMSTACK.md docs: add compiler-native streaming syntax to language reference 2026-02-25 14:37:16 -08:00
IMPLEMENTATION_PLAN.md feat: physics language integration — scene container with Rapier2D WASM 2026-02-25 10:58:43 -08:00
STREAM_COMPOSITION.md docs: add STREAM_COMPOSITION.md — full API reference and protocol spec 2026-02-26 10:12:29 -08:00
USE_CASES.md fix: signal composition — stream derived signals, fix identity check, correct relay routing 2026-02-25 23:55:05 -08:00