similar to: markdown implementation in C using PEG grammar

Displaying 20 results from an estimated 800 matches similar to: "markdown implementation in C using PEG grammar"

2008 Aug 09
0
peg-markdown (C) and rpeg-markdown (ruby gem)
Markdowners: I've released version 0.4.1 of peg-markdown, a C implementation of markdown. peg-markdown uses Ian Piumarta's peg/leg parser generator to generate a parser from a parsing expression grammar (PEG). You can inspect the grammar for markdown at http://github.com/jgm/peg-markdown/tree/HEAD/markdown_parser.leg peg-markdown now provides both a C library and a standalone
2008 Apr 06
1
markdown PEG (parsing expression grammar)
There's been a lot of discussion on this list about creating a formal grammar 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]:
2009 Sep 12
1
lunamark - markdown in lua using a PEG grammar
Markersdown: I was fooling around with lua and decided to write a markdown parser using the terrific lpeg library. Here's the result: http://github.com/jgm/lunamark/tree/master There are already two markdown libraries for lua, one a native lua implementation based on global substitutions, the other a binding to discount. What makes lunamark different is that it is based on a PEG grammar
2009 Oct 19
2
Treetop or like grammar for Markdown (in Ruby)
Has anyone seen any attempts to give Markdown a PEG (parsing expressions grammar) recognizable by some ruby PEG parser generator grammar like Treetop? http://treetop.rubyforge.org/
2008 Jul 25
1
+ in email addresses - edge case with a lot of variation between implementations.
http://babelmark.bobtfish.net/?markdown=%3Ca%2Bb%40c.org%3E&normalize=on Only Python markdown, Pandoc, discount and PEG markdown seem to get this 'right'. As a + is perfectly valid in email addresses, I'm going to fix this in my modules. This was reported to me via the cpan.org RT (37909), and I thought I'd share as it's a good one in Babelmark. Cheers Tom
2011 Sep 17
0
lunamark 0.2
I'm pleased to announce the release of lunamark 0.2. This is a complete rewrite of the 2009 version, with a new API. I am very grateful to Hans Hagen, who resurrected the project for use in ConTeXt and made major improvements in the efficiency and performance of the code. Lunamark is a lua library and command-line program for conversion of markdown to other textual formats. Currently HTML,
2008 Sep 08
13
list corner case
I'm curious how people think the following *should* be interpreted: - one 2. two http://babelmark.bobtfish.net/?markdown=-++one%0D%0A2.+two%0D%0A%0D%0A As you can see, implementations split into three groups here: (a) treat as an unordered list Markdown.pl, Python markdown, MultiMarkdown, BlueCloth, MarkdownJ, Showdown (b) treat as an unordered list with an ordered
2009 Jun 11
1
[LLVMdev] PEG parsers? (was Re: Regular Expressions)
Hello everybody, I don't quite understand how the proposed regex library works but I know that PEG parser generators use a super-set of regex functionality to define their parsers. There's also a nice one on Google code called YARDparser that uses templates based on PEGs to generate efficient recursive-decent parsers. Furthermore, my partner and I am working on an interpreter for PEG
2008 Mar 22
7
Babelmark
I'm currently attempting to write a spec for parsing Markdown Extra, and since one goal is to minimize the differences in output between implementations, I've made a tool allowing me to compare who does what for any given input. I hope this can also facilitate future discussions about the syntax. So here's Babelmark, a testbed for various Markdown implementations were you
2011 Jun 28
3
PEG Markdown Highlight
Dear fellow Markdown enthusiasts, As you all might know, Markdown is a highly context sensitive language that the (often regex-based) syntax highlighting mechanisms in existing editors struggle to keep up with. I have taken John MacFarlane's excellent peg-markdown compiler and modified its parser to function as an interpreter for syntax highlighting purposes. The end result is a
2011 Feb 09
3
code span doesn't preserve space
Consider this code span: `grep ' '`. All implementations listed on [babelmark](http://babelmark.bobtfish.net) just simply wrap it as: <code>grep ' '</code> Viewed in browsers, the above code is equivalent to: <code>grep ' '</code> I think spaces should be preserved in code span,which maintains consistence with code block. For
2008 Mar 25
2
a JavaScript front-end for Babelmark
Hi, I've built a quick-and-dirty diff GUI for Babelmark (thanks, Michel!). You can get it as a bookmarklet here: http://attacklab.net/babelmark/ If either Michel or Tom is interested in hosting this, I'll be happy to do the grunt work for a real integration. It's kind of pain in the ass to hit the bookmarklet every time you get new data from the server. I've tested this
2011 Nov 07
5
Multiline code block within a list
Hello, How to correctly made multiline code block within a list, like.. * foo * bar * ``` Code 1 Code 2 Code 3 ``` * Another list item The above markup is not working, what I want is Code 1, Code 2 and Code 3 appear in different lines. Thanks.
2011 Nov 30
3
Inline HTML legalities
Hi, I'm writing a Markdown Parser in Scheme by porting bits of Markdown.pl. As you're probably aware, the Perl version massages the file into the final output with a number of regexes. In my version I'm trying to use the regexes to detect the starts and ends of the features and then take specific action to emit the final representation. I'm doing it this way because I want to
2011 Mar 18
1
Bug using inline code blocks in nested lists?
Hi, I am generating a nice document with some inline code blocks and came around the following error: 1. asdf - \` asdf `` `asdf` `` produces: <ol> <li>asdf <ul><li>` asdf <code><code>asdf</code></code> </li></ul></li> </ol> instead of: <ol> <li>asdf <ul><li>` asdf
2001 Oct 08
2
Rcmd
Hola! I have problems running Rcmd check (windows 98, R1.3.0) It ckoks on an example running a function which calla bringToTop(). This makes an error because Rcmd check runs the examples with the postscript device, and bringToTop does not make sense with that device. Howevere, my function is for interactive use, and needs bringToTop. How can this be used in examples and still have the
2008 Mar 29
1
Bug?
Hi, This might be related to the bug reported earlier about parsing URLs with parens, but the following looks like a bug to me: [ZIP archives](http://en.wikipedia.org/wiki/ZIP_(file_format) "ZIP (file format) - Wikipedia, the free encyclopedia") gets rendered by Markdown 1.01 as: <p><a href="http://en.wikipedia.org/wiki/ZIP_(file_format">ZIP
2011 Mar 19
2
Spaces following quotes disappear
I have a line that includes a double quotation mark followed by 5 spaces, and then some text, like so: " global" when it is converted with markdown, the spaces disappear, so it results in "global" Is there a way to keep these spaces in there? Thanks for any help. Rick -------------- next part -------------- An HTML attachment was scrubbed... URL:
2015 Jan 29
2
any valid up-to-date info about Kamailio-Asterisk integration ?
Hi all Have recently watched Matt Jordan's session on Kamailio World 2014 On slides 26-29 of his presentation (http://www.kamailio.org/events/2014-KamailioWorld/day1/09-Matt.Jordan-Asterisk12-And-PJSIP.pdf) he speaks about a (completely new, for me at least) approach to build scalable telephony systems, using N instances of Kamailio and N instances of Asterisk Are there any
2012 Dec 10
0
AnyMark - a PHP Markdown parser
I've extracted (from another project I'm working on) a Markdown Parser written in PHP. It is written in PHP. It is not a pure Markdown parser (eg adding header id's), not fast, not a competitor to PHPMarkdown. However, it *may* be of interest to someone. The code (and docs) can be found here: https://github.com/koenhoeymans/AnyMark