AzeMark 2 · AzeForge 0.6.3
Geometry.
Declare primitives, constructions, and marks in authored order. Unresolved or ambiguous references produce diagnostics.
Directives
| Directive | Generated reference |
|---|---|
geometry | Fields, body schema, and limits |
Source and rendered output
Excerpt from 04-geometry.aze.md in the upstream docs/language library, compiled with the pinned 0.6.3 compiler. The full file ships as a canonical Source below.
:::: geometry
id: optics-wedge
number: true
----
- kind: point
name: vertex
label: O
x: 0
y: 0
- kind: point
name: arm-flat
label: A
x: 4
y: 0
- kind: point
name: arm-raised
label: B
x: 1.5
y: 3.5
- kind: segment
name: flat-arm
from: vertex
to: arm-flat
- kind: segment
name: raised-arm
from: vertex
to: arm-raised
- kind: polygon
name: wedge
vertices:
- vertex
- arm-flat
- arm-raised
::::Canonical Sources
These files come from the compiler's verified example library. Keep the document envelope and directive spellings intact when adapting them.
- Geometry primitives, constructions, and marksDownload the complete canonical Source.
- Geometry theorem and rendering showcaseDownload the complete canonical Source.
Authoring workflow
- Start from the smallest relevant block in the canonical Source.
- Give referenced declarations stable kebab-case identifiers.
- Run
azeforge validatebefore rendering. - Apply diagnostic suggestions to the reported location rather than guessing at a replacement field.
