similar to: lunamark - markdown in lua using a PEG grammar

Displaying 20 results from an estimated 1000 matches similar to: "lunamark - markdown in lua using a 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
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,
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 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
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]:
2006 May 19
1
Object-Oriented PHP Markdown/SmartyPants
This is something that I've been asked for many times. So today I'm announcing that all future versions of PHP Markdown and PHP SmartyPants will be encapsulated in a parser class. This has two major benefits: 1. It should make extensions to the syntax easier to create and maintain as it is now possible to now extend the parser by replacing (overriding) only the relevant
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
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
2007 Aug 04
1
PHP Markdown 1.0.1h & Extra 1.1.4
This update to PHP Markdown fix a bug that slipped in the WordPress interface with the last update. It also introduce a new "feature": you can now instruct the parser to ignore HTML tags and/or entities in the input. You can do this by instantiating yourself the parser and setting the `no_markup` or `no_entities` properties to true: $parser = new Markdown_Parser;
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
2011 Oct 20
4
toast, history, sayonara
ok, while i was in the process of writing that last post, fletcher and john weighed in themselves. that's good. i can say some things that they can't, though, so i will. fletcher told you how multimarkdown is booming, and it was an impressive list. what you might not realize is, he _undersold_ it. it is even bigger than he described, and it's gonna _double_ in size in the next
2007 Jan 23
3
Footnote support in Markdown
Hi All. I've just started using Markdown for my blog. So far it seems quite nice, but the one issue I've run into is a lack of "native" support for footnotes. I think that Daring Fireball's footnote style makes a lot of sense, and that's what I intend to use. However, it is a bit cumbersome to implement that style from within Markdown. I notice that the PHP
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,
2007 Jul 12
1
Proposal for footnote GUID syntax
While we're talking about new syntax, I thought that I'd throw out an idea I had to extend the footnote syntax as it currently exists in PHP Markdown Extra. I'm not sure that it's the best way to solve this particular problem, but I figured I'd throw it out there to get any comments on it. It relates to the problem of specifying a document's GUID. A few months back,
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 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
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.
2012 Nov 22
2
Lin/Win desktop/games rig with PEG pass-through
Hi all, I''m planning a rig that has SuSE linux in Dom0 and Windows7 in a DomU with the PCIe video card passed through to the Win7-U and an AMD system''s onboard video for the Linux system. Couple xen-newbie questions: does my plan work in such that I intend to have the onboard video''s DVI and the video card (at present an NV GTX-460) on the same monitor and switch
2011 Jan 25
1
[LLVMdev] LLVM grammar for ANTLR
Hi Sam, Thanks for your reply. I am implementing my research (http://www.it.usyd.edu.au/~suri/Detecting%20Buffer%20Over.pdf), a translation of LLVM to a simple non-deterministic language to detect buffer overflows. It involves (1) printing a control flow graph of basic blocks of a function (easily done) (2) translating each llvm statement to a corresponding data flow language (needs ASTs to
2010 Jul 22
3
[LLVMdev] Multi-scan passes under LLVM (2.7)
For current FunctionPass passes, each function in the current module will be visited _once_ under some order. If I have an algorithm that needs to visit each function more than once in order to generate the final result, how could it be arranged under the current LLVM Pass framework? Could somebody point me a pass that currently doing this? Thank you Chuck