Skip to main content

Module parser

Module parser 

Source
Expand description

Org-mode text → AST parser using hand-written recursive descent.

Parses org syntax into the canonical Document AST. Covers every constructor that the generator produces so round-trip is well-defined.

Structs§

ParseError
Parse error with position context.

Functions§

parse_document
Parse an org-mode document string into a Document.
parse_document_with_residue
Parse an org-mode document, also returning the content of input lines that no block claimed.