Displaying 20 results from an estimated 500 matches similar to: "peg-markdown (C) and rpeg-markdown (ruby gem)"
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 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 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 Mar 17
1
Re: Rails SQL Server adapter
Hey Ryan,
I asked this question awhile back, but any support planned for table
returning functions, or stored procedures?
I''m envisioning basically a mutable model class where you have 1 or more
instance variables defined (with default values) that are used in the
SQL queries as input parameters. When you instantiate the class you can
specifically define these parameters or use the
2006 Mar 17
1
Re: Rails SQL Server adapter
[copying the rails list for more feedback]
On 3/17/06, Jakob Skjerning <jakob@mentalized.net> wrote:
> I believe you''re currently the man putting a lot of effort into the
> Rails SQL Server adapter - is this correct?
Somewhat. I am maintaining the SQLServer adapter but I''m not doing
quite as much as I''d like with it and you certainly can''t call
2009 Feb 05
0
Slide Show (S9) Gem V0.7 - Better Support for More Markdown (Ruby) Libs and More
Hello,
== What's new in 0.7?
I removed the dependency on Maruku (and Oniguruma) and now allow and
check for optional installed Markdown libraries/gems. For now the
search order for markdown libraries is first come, first serve, that
is:
rdiscount > rpeg-markdown > maruku > bluecloth (fallback, always
present because it's required in gem spec).
If you want to use
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 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
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
2012 Jun 16
0
markdown gem - Markdown Engine Wrapper - Use Your Markdown Library of Choice in Ruby
Hello,
I've created a markdown gem in Ruby that lets you use your markdown
library of choice. Preconfigured markdown libraries include: kramdown,
redcarpet, bluecloth, maruku, rpeg-markdown, rdiscount, pandoc-ruby.
Usage in your Ruby code:
require 'markdown'
Markdown.new( 'Hello World' ).to_html
The gem also includes a little command line tool. Try markdown
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
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 Aug 19
0
Camping 2.1 - ERB, Haml, 1.9, bug fixes, new website!
{}
||
||
~~~~~~~~~~~~~~~ <= _whycake
~ Camping 2.1 ~
~~~~~~~~~~~~~~~
I''m pleased to announce another release of Camping, the microframework. This
time we''ve focused on improving the 1.9 support, adding (builtin) support for
more template engines, refreshing the homepage and just general bug fixes.
gem install camping
Home:
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,
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;
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
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
2012 Mar 10
0
ANN: pandoc 1.9.1.2
It has been a while since I've announced a pandoc release on this
list, so here's an update. The latest version of pandoc supports
conversion of markdown to a host of other formats, including
* HTML formats: XHTML, HTML5, and HTML slide shows using Slidy,
S5, or DZSlides
* Word processor formats: Microsoft Word docx, OpenOffice odt
* Ebooks: EPUB
* Documentation formats: DocBook, GNU
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