similar to: PEG Markdown Highlight

Displaying 20 results from an estimated 2000 matches similar to: "PEG Markdown Highlight"

2011 Oct 20
6
maybe a year ago, but not today
sherwood said: > If agreement is reached, then the group > looks at variants 6,7,8,9 and inquires > if they would like to join in this effort. well, that kind of leveraged consensus would have been the way to go about this process a year ago. but not today. > Has anyone collected a would-be canonical list > of either the ambiguous cases in original MD, >
2010 May 03
5
New parser-based Markdown implementation for Java
Markdowners, just a short heads-up to a newly released Markdown implementation: "pegdown" (http://github.com/sirthias/pegdown) implements a Java Markdown-to-HTML processor based on a PEG parser with the grammar being based on John MacFarlanes C implementation "peg-markdown". pegdown uses "parboiled" (http://www.parboiled.org) for the actual parsing work and, as
2010 Dec 15
3
my scala markdown implementation
Hi, I have written my own implementation of markdown in Scala. I only later realized there is already one ( <http://tristanhunt.com/projects/knockoff/> ), but I put quite some work into mine and I think it is never bad to have alternatives, so I wanted to release it anyway. I want to use the same BSD License as the original markdown, but before I put it out into the wild I wanted to ask
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]:
2010 May 11
1
Announcing Spirit Markdown
Here is another implementation of Markdown, this time in c++ using the Boost Spirit library. Spirit Markdown is written in (hopefully!) idiomatic modern c++ and a full suite of unit tests are provided. It is licensed under the Boost Software License (OSI compliant). The purpose of writing this is: * for me to gain expertise in the use of Spirit, both through direct experience and public review,
2008 May 03
1
markdown implementation in C using PEG grammar
I've just uploaded an implementation of markdown in C. It defines the syntax using a PEG grammar, so it should be easy to extend and modify. Right now it can produce output in either HTML or LaTeX, but it would be simple to add other output formats. It's very fast: on my machine, it converts a 178K markdown file in 0.14 seconds (vs. 9.6 seconds for the latest Markdown.pl and 0.57 seconds
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/
2012 Oct 18
4
Trouble with parentheses in Markdown hyperlinks
How can we improve URL detection in Markdown? I posted a question on Stack Overflow and happened to click a URL in my post. To my surprise, it wasn't functional, and it took three different, nonintuitive manipulations before I achieved a functional URL. Stack Overflow says "not my problem", so I'm deferring to Markdown itself. Here's a
2011 Aug 10
8
Universal syntax for Markdown
Hi, because of the great editor "Writer" from Information Architects I've learned about Markdown and I love it. But it's very confusing, that there are so many standards with different features: classical Markdown, Markdown Extra, MultiMarkdown. I think for most users and the spreading of Markdown it would be nice, to have only one syntax. And this universal syntax should have
2012 Sep 12
2
inline link syntax question
I don't believe this question has been discussed before on this list: Should whitespace be allowed between the bracketed and parenthesized parts of an inline link? For example, [foo] (/url) The markdown syntax documentation says explicitly that a space is allowed between the two parts of a *reference-style* link: > Reference-style links use a second set of square brackets, inside
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
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
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
2010 Apr 20
2
Parser question + Markdown "wysiwyg"
Hi all I've started writing an OS X Markdown "editor"[1] that semi-formats your markdown document as you write it. I just wanted to put something together, so went with a regexp-based setup for parsing -- Not ideal! I'd really like to use an existing parser, but I need to get access to the parse-tree *with* character offets, rather than just html output, as I'm adding
2012 Dec 22
2
Tools for converting markdown to other formats with templating support
Hi all, I'm new to the list but I've been using markdown for a while and I wonder if it might make the things I've been doing recently easier if I could find a tool that does what I need. Essentially, I've been writing a lot of technical proposals of late (mostly using google docs), but I'd like to switch to writing them in Markdown (which handily means I can track revisions
2011 Dec 01
1
there's no payoff in confusing the users
john said: > Have you considered using a PEG instead of regexes? for all you home-schooled and self-taught programmers for whom "peg" is far too computer-sciencey for comfort, consider as an alternative the simple methodology i use... i split the text-file on blank lines and place it in an array. that is first-cut for my light-markup format, a.k.a., "zml" -- zen
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
2010 Sep 17
1
odfWeave UTF-8 error and latin characters
Hello R masters, I have sent this same message to other lists and none so far could give some light. I was trying to use odfWeave to generate a report from R and Im getting an error that I think is related to latin characters. I looked around and did find some stuff related to this problem about Sweave http://labmoluscos.wordpress.com/2010/02/18/sweave-latex-character-encoding/ but did not find a
2015 May 24
6
NEWS.md support on CRAN
John MacFarlane, the author of Pandoc, has been working on a project ( http://commonmark.org/) to define a standard reference for Markdown*. There are already two reference implementations, one in javascript, the other in C: https://github.com/jgm/cmark Regards, baptiste * There was some initial controversy with the original author of markdown, but in the long term it's probably one of the
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