- Phase 1: Component parser + codegen (emit_component_decl, emit_component_use, emit_match) - Phase 2: 6 registry components (button, input, card, badge, dialog, toast) - Phase 3: dreamstack add CLI with dependency resolution and --list/--all - Phase 4: dreamstack convert TSX→DS transpiler with --shadcn GitHub fetch - Phase 5: 120+ lines variant CSS (buttons, badges, cards, dialog, toast, input) - New example: showcase.ds demonstrating all component styles
15 lines
251 B
Text
15 lines
251 B
Text
let count = 0
|
|
let s1 = count + 1
|
|
let s2 = s1 + 1
|
|
let s3 = s2 + 1
|
|
let s4 = s3 + 1
|
|
let s5 = s4 + 1
|
|
let result = s5
|
|
|
|
on click -> count = count + 1
|
|
|
|
view main = column [
|
|
text "Signal Benchmark"
|
|
text result
|
|
button "Increment" { click: count += 1 }
|
|
]
|