Skip to content

Illustrated syntax ​

One page per construct. Each opens with a decision board — one row per rule: the rule, where it is written, its status — then one plate per case, GEML on the left and the processor's real output on the right, and ends with the evidence. Every output was recorded from a real run of the parser when the page was written.

Block types ​

Page中文What it shows
The simple four: meta, math, note, text中文GEML's four smallest block types, meta, math, note and text, and the fence, id and attribute rules every block shares, each shown with real geml check output.
code and data中文GEML's code and data blocks: code holds text the processor never interprets, data a value that must parse, one src= route syntax for both, all measured.
table and view中文GEML's table block, every rule measured: two bodies, one model, a closed arithmetic, a summary row; then the view draft from GEP-0012, spec and draft marked.
diagram中文GEML's diagram block two ways: an external DSL passed through verbatim, and the built-in geml-chart bound to a table, where a wrong column fails the build.
embed中文GEML's embed block: src= brings in a section, a block or a run of prose from another document; part=, scheme and cycle rules and inline ![[#id]], all measured.
form (proposal)中文The GEML form proposal (GEP-0008, draft) and the geml-form/v1 profile: fifteen design decisions, each drawn as GEML beside the control a host would render.

The CLI ​

Page中文What it shows
The geml CLI中文Every geml CLI verb run on one small document: convert between json, html, md and geml, read and write by block, validate; each address form and exit code.

Profiles ​

Page中文What it shows
geml-history中文geml-history/v1: a .gemlhistory sidecar of reverse patches and snapshots beside each .geml rebuilds any old version without git or a network. Four verbs run.
geml-codemap中文geml-codemap/v1: a codebase's call graph as GEML documents, one per container, methods as code blocks, edges as CSV tables, shown on the parser's own code map.
geml-style中文geml-style/v1: a stylesheet is an ordinary .geml that selects into a document without touching it. No scripts, ambiguity fails the build; 13 diagnostics run.
geml-translator中文geml-translator/v1: a translation is an embed-only projection of its source, translate-to= on each block, so it cannot drift from the source it translates.

Comparisons ​

Page中文What it shows
geml-style against CSS中文geml-style against CSS on ten dimensions: on eight a restricted subset of CSS; on two, where content goes and ambiguity as an error, different on purpose.
The Markdown Variants Map中文The projects on the awesome-markdown list that patch or replace Markdown, one by one: what each does, where it meets GEML and where it goes another way.

Last updated:

Code MIT · Specification CC BY 4.0