Idris wrapper for jgm's Markdown parser
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmark @ 1195f30
src
.gitignore
.gitmodules
Demo.idr
LICENSE
Makefile
README.md
commonmark.ipkg

README.md

Idris-CommonMark

This is a direct Idris wrapper of jgm's cmark library, a C implementation of CommonMark.

WARNING: This baby never works the way you want it to. Basically you'll be eaten up by all the segmentation fault things.

Installation:

$ git submodule init
$ git submodule update
$ make install

If you are lucky, you can get the provided demo running: (if you are not, you will get a segfault then!)

$ idris -p commonmark -o Demo Demo.idr
$ ./Demo > Demo.html