WRiting Markup Language · v3.0

Markup for
humans,
built for machines.

As fast as Markdown, as rigorous as XML.

Aussi rapide que Markdown, aussi rigoureux que XML.

corpus.wriml
^doc markup=''3.0'' date=''2026-05-02'':
  ^titre:Analyse morphologique_titre:
 
  ^data:
    ^mb:tralE jE O fa-li O_mb:
    ^gl:habit ^gr''foc'' ^gr''3''^gr''sg''
      prendre-^gr''pas''.^gr''perf''_gl:
    ^ft:C'est un habit qu'il a pris_ft:
  _data:
_doc:
Why WRIML · Pourquoi WRIML

The right tool was missing. Il manquait le bon outil.

Markdown is fast but loose. XML is rigorous but verbose. WRIML was designed to occupy the space between — structured enough for machines, readable enough for humans.

Markdown est rapide mais imprécis. XML est rigoureux mais verbeux. WRIML occupe l'espace entre les deux.

XML
<gl>
  habit
  <gr>foc</gr>
  <gr>3</gr>
  <gr>sg</gr>
  prendre-
  <gr>pas</gr>
  .<gr>perf</gr>
</gl>
WRIML ✦
^gl:habit ^gr''foc''
^gr''3''^gr''sg''
prendre-^gr''pas''
.^gr''perf''_gl:
Markdown
# No semantic tagging
# No structured glosses
# No validation
 
habit **foc** **3****sg**
prendre-**pas**
.**perf**
 
# Structure lost.
✍️

Human Centered Centré sur l'humain

WRIML was built for people who write — linguists, researchers, authors, developers. The syntax is designed to stay out of your way.

WRIML a été conçu pour ceux qui écrivent — linguistes, chercheurs, auteurs, développeurs.

  • 3 active characters: ^ : _ — nothing more
  • Named closing tags — you always know what you're closing
  • Any tag name you choose — no imposed vocabulary
  • Inline shorthand ^tag''content'' for fast annotation
  • Embedded tag declarations for self-documenting files
⚙️

Machine Readable Lisible par les machines

WRIML's simplicity is intentional — every rule is unambiguous, every construct is parseable without guesswork.

La simplicité de WRIML est intentionnelle — chaque règle est non-ambiguë, chaque construction est parseable.

  • ^ is always active — no silent failures
  • '' is an atomic digraph — never ambiguous
  • Strict nesting — no crossing tags
  • Formal grammar available
  • Multi-root documents natively supported
Design Principles · Principes de conception

Four commitments. Quatre engagements.

1

Rigorous · Rigoureux

Strict nesting, zero ambiguity, machine-validatable. Every WRIML file can be parsed deterministically.
Imbrication stricte, zéro ambiguïté.

2

Ergonomic · Ergonomique

Three key characters, minimal Shift key, ~40% fewer keystrokes than XML. Fast to type, fast to read.
Trois caractères clés, moins de frappes.

3

Learnable · Apprenable

One main rule, zero exceptions in everyday use. A novice can read WRIML in minutes.
Une règle principale, zéro exception courante.

4

Extensible · Extensible

Two-layer architecture: simple surface for daily use, advanced system layer for developers building sub-languages.
Deux couches : simple en surface, puissant en profondeur.

Syntax at a Glance · Syntaxe en un coup d'œil

Five forms. That's it. Cinq formes. C'est tout.

Element with content Élément avec contenu
^titre:My document title_titre:
Element with attributes Élément avec attributs
^doc markup=''3.0'' date=''2026-05-02'':_doc:
Self-closing element Élément auto-fermant
^br*     ^img src=''logo.png''*
Quoted inline form Forme quotée inline
^em''italics''   ^gr''foc''^gr''3''^gr''sg''
Namespace prefix Préfixe namespace
^ling.titre:Morphological analysis_ling.titre:
Get Started · Commencer

Ready to write? Prêt à écrire ?

Read the specification, explore the grammar, and start annotating your documents in WRIML 3.0.
Lisez la spécification, explorez la grammaire , et commencez à annoter vos documents.