Binding
- Definition
- a key, optional attributes, an optional datatype annotation, and a value.
Start typing to search the site.
Language
This page is intentionally less formal than the specification. It explains the visible language surface: how bindings read, how containers are shaped, and how references, nodes, and modes fit together.
Use the value types page for special value features, the type reference for the lookup table, and the playground to experiment.
Bindings
A binding assigns a value to a key. The datatype annotation tells a reader and a validator what kind of value is intended. In strict authoring, ordinary bindings are typed; in transport scenarios, untyped data can still be carried.
title:string = "Release notes"
published:boolean = true
count:number = 3
Containers
Objects contain named bindings. Lists contain repeated values. A list can declare the value family in the list type, or each child can carry an anonymous type head when that is clearer.
document:object = {
title:string = "Release notes"
tags:list<string> = ["spec", "draft"]
measurements:list = [
:number = 3
:number = 4
]
}
References
AEON does not blur reference intent. ~path records value-copy intent. ~>path records pointer-like intent. That distinction matters when documents are transformed, validated, or bound into systems.
total:number = 12
published:number = ~total
livePointer = ~>total
Nodes
Nodes are useful when the document needs tagged, child-bearing structure without becoming HTML, XML, or executable code. They are data values with visible heads and children.
content:node = <article (
<h1("AEON")>
<p("Readable structure for data and documents.")>
)>
Modes
Transport mode favors carriage. Strict mode reserves the core language surface and requires typed ordinary bindings. Custom mode keeps the typing requirement while allowing ecosystem-defined datatype labels.
aeon:mode = "strict"
title:string = "Typed document"
tags:list = ["reference", "public"]
Glossary
Grammar
The exact EBNF belongs in the specification and conformance tests. This site should keep the common shapes visible and readable.
When you need authority-level detail, use the specification and conformance tests; when you need intuition, use this page and the walkthrough.