ReferenceGrammar.h header
#include <ew/app/ReferenceGrammar.h>
Namespace ew::app
Functions
QString ew::app::referenceGrammarMarkdown(const ew::core::Language &language)
Compiles language into a shareable reference grammar as Markdown: a titled document with sections for the sound inventory (phonemes + suprasegmentals), the phonotactics (sound categories and syllable templates), the orthography (romanization schemes), the grammar (typology, word order, inflection paradigm tables, pronouns, and the number system), and a sorted lexicon appendix. Only the sections a language actually has are emitted. The Markdown uses GitHub-flavoured tables, so it renders through the app's Markdown->HTML pipeline (and thence HTML/PDF) unchanged – this is the artefact a worldbuilder prints or publishes to document their language.