Commit Graph

12 Commits

Author SHA1 Message Date
Michael Teichgräber
4fe196d324 update parser.leg.go 2013-01-23 22:58:09 +01:00
Michael Teichgräber
fa16c1c9ea parser.leg.go: fix ResetBuffer 2012-07-20 12:32:22 +02:00
Michael Teichgräber
c6b9d3c90d parser.leg.go: update 2012-05-04 16:36:37 +02:00
Michael Teichgräber
f721084df0 new API: p := NewParser(&opts), p.Markdown(r, f) replaces d := Parse(r, opts), d.WriteHtml(w)
The new api allows to create a parser instance that can be
reused between calls to Markdown. Also, an interface `Formatter'
replaces the tight coupling between former Doc type and HTML
generation.
2012-04-28 22:57:55 +02:00
Michael Teichgräber
0248d52f7e sync with peg
- Parse now returns an `error'
- leg parser generator writes to stdout now, doesn't
  create a file xy.leg.go anymore
- turn on new optimizations
2012-04-24 00:15:47 +02:00
Michael Teichgräber
91a38d3048 rename Extensions → Options 2012-04-21 22:37:54 +02:00
Michael Teichgräber
7ce3bfa5ad parser.leg.go: update 2011-07-04 18:48:17 +02:00
Michael Teichgräber
13fca5aaab parser.leg.go: fix compilation 2011-03-25 13:50:31 +01:00
Michael Teichgräber
f289840541 update parser.leg.go 2011-02-21 10:08:33 +01:00
Michael Teichgräber
7cfd682971 golang: log.Exitf->log.Fatalf 2011-02-18 12:00:25 +01:00
Michael Teichgräber
ef9d2c6af6 sync with peg-markdown
See https://github.com/jgm/peg-markdown/commit/a4713d59
2011-01-07 18:40:39 +01:00
Michael Teichgräber
54f4f31312 add parser.leg.go to help goinstall build the project 2010-12-13 19:44:11 +01:00