Living Document Notice
Staged 2026-09-27. Living revisions and interconnected notes live in the Stax Digital Garden.

Cloze Deletion and Semantic AST Parsing for Technical Syllabi

Constructing durable curriculum syllabi requires embedding testable assertions directly inside reference notes using standardized cloze syntax. Parsers compile these markdown files into interactive flashcard streams on the fly.

Cloze Syntax Invariants

  • Inline Deletion Markers: Braced expressions (==target concept==) denote automatic fill-in-the-blank extraction targets during compilation.
  • Abstract Syntax Tree Indexing: The Marlinspike parser indexes all cloze nodes into a local SQLite database for instant retrieval.
  • Contextual Transclusion: Flashcard reviews pull surrounding paragraphs as contextual hints without breaking atomic note boundaries.

Embedding active recall mechanisms inside standard notes bridges the gap between reference archiving and active learning.


  • Directus Target: primer-blog
  • Garden Source Reference: MOC - Primer Learning Systems, MOC - Data Liberation Workbenches, [BSN-1001 - Incremental Parsing with Tree-sitter](BSN-1001 - Incremental Parsing with Tree-sitter)