Generates Elixir screen module source code from Dala UI trees.
Supports two output styles:
- Sigil style:
~dalatemplates with PascalCase tags - DSL style: Spark DSL with snake_case entities
UI trees use the map format: %{type: :atom, props: %{...}, children: [...]}.
Summary
Functions
Extract event handler names from a UI tree.
Generate DSL-style screen module source.
Generate sigil-style screen module source.