Displaying 1 result from an estimated 1 matches for "parsing_expression_grammar".
2008 Apr 06
1
markdown PEG (parsing expression grammar)
...ammar for markdown. I had a go at writing a [parsing expression
grammar] for markdown. I used Haskell and John Meacham's Frisby PEG
parsing library, but it should not be too hard to port the grammar
to PEG libraries in other languages.
[parsing expression grammar]: http://en.wikipedia.org/wiki/Parsing_expression_grammar
The code is at <http://github.com/jgm/markdown-peg/tree/master>.
All that is required to compile it is the GHC haskell compiler.
The grammar itself begins at line 68 of Markdown.hs:
<http://github.com/jgm/markdown-peg/tree/master/Markdown.hs#L68>.
This implementation is not particular...