10000 Tags · touchmarine/to · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: touchmarine/to

Tags

v0.1.0

Toggle v0.1.0's commit message
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.
0