跳到主要內容

Documentation draft

Author with DSL

Treat DSL as AUP’s source-first authoring layer and make the JSON-compatibility boundary explicit.

This section explains how to maintain DSL sources, organize an app/page/shell, express values and interaction, and generate JSON artifacts only when a compatibility consumer needs them. It does not teach hand-editing JSON as the default workflow.

Read in this order

  1. DSL source model before choosing DSL-first or JSON-first inputs.
  2. App, page, and shell for the app-level declaration surface.
  3. Nodes, values, and sugar and events, navigation, and visibility for page source.
  4. Components, loops, and i18n for compile-time reuse and locale content.
  5. Generate, lint, and migrate to maintain artifacts without confusing formatting with validation.