[ocaml-infra] Fwd: [opam-repository] Add ocaml-markdown 0.1.1 (#863)

Thomas Gazagnaire thomas at gazagnaire.org
Tue Jul 2 15:57:16 BST 2013


> I had noticed that Thomas did some work, a while ago, on reimplementing Cow's module, with ocaml{lex,yacc}:
> https://github.com/samoht/ocaml-cow/commit/76c057a66f07ea7e026e5ceb3f71b81a47f78af0
> It that idea abandoned?

Not really abandoned, but unfortunately I don't really have the time to work on a cleaner implementation of cow (which was what I've started to do with that bunches of commits). I have just started to gather some unit tests: https://github.com/samoht/ocaml-cow/tree/master/lib_tests/md).

 btw, I'll be very happy to switch/use any available pure OCaml implementation, though.

--
Thomas

> Adding to Gabriel's list:
> 
> - wiki-creole: https://github.com/besport/ocaml-wikicreole 
> - there is also a parser for a wiki-creole-like language in OCsimore http://ocsigen.org/ocsimore/
> 
> 
> Right now, I unix.system 'pandoc' on server-side, and use Marked (https://github.com/chjj/marked) with js_of_ocaml's Js.Unsafe module on client side.
> It would be indeed really cool to have a pure OCaml implementation!
> 
> BTW, Marked.js comes with an extensive test suite that they claim to be derived from the "official one" (the perl implementation), that can be useful.
> 
> 
> Cheers
> Seb
> 
> 
> --
> Tonight! Lucrative Jacket, 9pm Gig at The Living Room, NYC! Yes, early and free! http://www.youtube.com/lucrativejacket
> 
> 
> 
> 
> 
> On Tue, Jul 2, 2013 at 9:22 AM, Thomas Gazagnaire <thomas at gazagnaire.org> wrote:
> > Mauricio Fernandez wrote a basic Markdown parser which might fit
> > your needs well.  Have you looked at it yet?
> 
> Yup, we are using it in ocaml-cow[1,2] (and we have adapted it to (almost) read Github Markdown as well).
> 
> Thomas
> 
> [1] https://github.com/mirage/ocaml-cow/blob/master/lib/markdown.ml
> [2] https://github.com/mirage/ocaml-cow/blob/master/lib/markdown_github.ml
> _______________________________________________
> Infrastructure mailing list
> Infrastructure at lists.ocaml.org
> http://lists.ocaml.org/listinfo/infrastructure
> 



More information about the Infrastructure mailing list