Skip to content
markdown processor in CL using esrap parser
Common Lisp
Pull request Compare This branch is 3 commits ahead, 54 commits behind 3b:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
3bmd.asd
README.md
package.lisp
parser.lisp
printer.lisp

README.md

Common Lisp Markdown -> html converter, using esrap for parsing, and grammar based on peg-markdown.

Currently a bit slow and uses lots of RAM for large documents (particularly when using the top-level doc parser instead of reading documents as a sequence of blocks), but seems to handle the tests from peg-markdown reasonably well.

todo:

  • clean up API
  • obfuscate mailto: links
  • figure out how to automate testing (closure-html + tree-equal? need some way to normalize whitespace though), and add tests
  • figure out how to do optional rules (like &{...} from peg/leg), and add common extensions
  • optimize grammar
  • optimize esrap
Something went wrong with that request. Please try again.