Displaying 20 results from an estimated 30 matches for "jgm".
Did you mean:
gm
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
...it converts a 178K markdown file in
0.14 seconds (vs. 9.6 seconds for the latest Markdown.pl and 0.57
seconds for phpmarkdown).
It passes all the tests in the Markdown 1.0.3 test suite, with one
exception (an edge case where there is room for disagreement).
It's on github at http://github.com/jgm/peg-markdown/tree/master.
If you use git, you can clone the repository:
git clone git://github.com/jgm/peg-markdown.git
Otherwise, download a tarball:
http://github.com/jgm/peg-markdown/tarball/master
Once you're in the peg-markdown directory, you can compile the program
by typi...
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 'markdown'
program. The memory leaks in previous versions have been plugged, and
parsing accuracy has been improved considerably.
peg-markdown is very fast (on my machine, it parses a 1...
2008 Apr 06
1
markdown PEG (parsing expression grammar)
...rammar] 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 particularly fast, though it is still
faster than Ma...
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 more reliable sources to
follow.
On 24 May 2015 at 12:00, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
> On 23/05/2015 9:25 AM, G...
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
2000 Mar 22
2
help system does not work (PR#499)
Full_Name: James MacKinnon
Version: Version 1.0.0
OS: Debian 2.1
Submission from: (NULL) (24.141.113.138)
I am a novice at R, so I am not totally sure that this is a bug, but I think it
must
be. When I type help.start() or ?help, Netscape starts up, as it should, but it
displays my normal home page, not any help for R. The relevant documents exist
in
/usr/lib/R/doc/html, but Netscape does not
2015 May 24
2
NEWS.md support on CRAN
...ptiste.auguie at gmail.com> wrote:
>>
>> 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 more reliable sources to follow.
>>
>> On 24 May 2015 at 12:00, Duncan Murdoch <m...
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 (adapted from my peg-markdown). This can be found
in the file...
2011 Sep 17
0
lunamark 0.2
...tle blocks, and a very flexible metadata format.
These can be turned on and off individually. Lunamark is designed with
hackability in mind; I see it as a good testbed for exploring markdown syntax
ideas. It includes an extensive test suite.
For more information, see lunamark's website: http://jgm.github.com/lunamark.
John
2006 Jun 14
1
trailing spaces in code block
It seems that Markdown 1.0.1 strips off trailing spaces at the end of
code blocks. Is this really what it's supposed to do? There might be
reasons to include trailing spaces in code displayed on a web page --
for example, in demonstrating how to do a hard line break in markdown.
Even if the trailing spaces aren't visible, they can be cut and
pasted. Besides, Markdown 1.0.1 preserves
2012 Mar 10
0
ANN: pandoc 1.9.1.2
...andoc is a command-line program. If you don't like using the terminal,
though, there are ways of integrating pandoc with a text editor.
You can find an Emacs mode (which gives you menu options for converting
to various formats), a vim syntax file, and a TextMate bundle
here: https://github.com/jgm/pandoc/wiki/Pandoc-Extras.
If you use OS X, David Sanson has created some droplets and services
that make it easy to use pandoc without going to the terminal
(https://github.com/dsanson/Pandoc-Droplets-and-Services). There is also
gitit, a git-based wiki (http://gitit.net) that uses pandoc and can...
2015 May 24
0
NEWS.md support on CRAN
...<baptiste.auguie at gmail.com> wrote:
>
> 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 more reliable sources to follow.
>
> On 24 May 2015 at 12:00, Duncan Murdoch <murdoch.duncan at gmail.com&g...
2015 May 24
2
NEWS.md support on CRAN
...gmail.com> wrote:
>>>>
>>>> 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 more reliable sources to follow.
>>>>...
2015 May 24
0
NEWS.md support on CRAN
...015 8:51 PM, Baptiste Auguie wrote:
> 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
It sounds as though there are at least two possibilities for parsers
that could be included in R: Sundown and commonmark. The "markdown"
package does some of what R would need to make use of Sundown, but not
all: we really do need an R object representation of the parse tree,
fo...
2015 May 24
0
NEWS.md support on CRAN
...guie at gmail.com> wrote:
>>>
>>> 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 more reliable sources to follow.
>>>
>>> On 24 May...
2015 Mar 12
0
Requirement for pandoc 1.12.3 in R 3.1.3
...and are, I believe, consequent on the warning about
> engine$weave). The warning still refers to the later version of
> pandoc
> which Ubuntu 14.04 repos don't yet have.
>
You can always download the latest version of pandoc; it's available as a .deb file at https://github.com/jgm/pandoc/releases .
Dan
> My current guess is some mismatch in the software infrastructure. I
> have another machine with R 3.1.2 and rmarkdown_0.3.3 that manages to
> build the package without complaint, but it would be good to get this
> sorted out. Pointers on where to look for a f...
2015 May 24
0
NEWS.md support on CRAN
...om> wrote:
>>>>>
>>>>> 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 more reliable sources to...
2015 Mar 12
2
Requirement for pandoc 1.12.3 in R 3.1.3
Thanks Brian.
Indeed, the vignette is in markdown form. When I updated my system to
R 3.1.3 I ran update.packages() and this seems to have upset things
(including R-studio processing of markdown files).
I tried removing rmarkdown and reverting to an older version so that my
sessionInfo() is
Loading required package: rmarkdown
> sessionInfo()
R version 3.1.3 (2015-03-09)
Platform:
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