Tags: touchmarine/to
Tags
Draft of the specification and a working parser A recursive descent parser that can parse paragraphs, emphases, strongs, headings, links, code blocks, and unordered, nested lists. Fair number of tests. Parser uses ASCII; incosistent whitespace handling. It supports traces and pretty-printing nodes with indentation, both of which are used for tests and debugging. No tree walker, renderer, or CLI. Specification documents guiding principles, goals, and the following elements: - emphasis - strong - paragraph - headings: unnumbered and numbered - links - code blocks (with filename metadata) - lists: unordered, numbered, zero-base numbered, lowercase/uppercase lettered and Roman numerals, and continuation lists Rough BNF.
PreviousNext