v0.4 — CLI Modularity: - Split monolithic main.rs (2,038 lines) into 8 command modules + slim dispatch (107 lines) - Add 12 JS codegen tests (signals, derived, views, events, loops, match, enums, components, interpolation, springs, tree-shaking) v0.5 — Diagnostic Quality + Analyzer Confidence: - Add From<ParseError> for Diagnostic (E0001) in ds-diagnostic - Add errors_as_diagnostics() to TypeChecker (E0100–E0110) - Wire Elm-style diagnostics through dreamstack check and build commands - Switch incremental compiler to parse_program_resilient() for multi-error collection - Add 12 analyzer tests (chains, fan-out, diamond deps, empty programs, conditionals, handlers, views) - Add 2 diagnostic conversion tests Test suite: 97 → 123 tests (26 new, 0 failures)
19 lines
424 B
TOML
19 lines
424 B
TOML
[package]
|
|
name = "ds-cli"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
|
|
[[bin]]
|
|
name = "dreamstack"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
ds-parser = { workspace = true }
|
|
ds-analyzer = { workspace = true }
|
|
ds-codegen = { workspace = true }
|
|
ds-incremental = { workspace = true }
|
|
ds-diagnostic = { workspace = true }
|
|
ds-types = { workspace = true }
|
|
clap = { version = "4", features = ["derive"] }
|
|
notify = "8"
|
|
tiny_http = "0.12"
|