Commit Graph

64 Commits

Author SHA1 Message Date
Michael Teichgräber
2670cccafb preformat: one appended \n seems enough 2012-04-28 20:56:36 +02:00
Michael Teichgräber
318858ce0a output.go: move some code into methods 2012-04-26 21:35:18 +02:00
Michael Teichgräber
4d8d5a00f4 output: str: fix rand.Intn call 2012-04-26 21:23:45 +02:00
Michael Teichgräber
0b7aff8bd1 output.go: reduce verbosity of `obfuscate' feature 2012-04-26 20:39:43 +02:00
Michael Teichgräber
42e21972e8 parser.leg: fix Definition title 2012-04-24 00:53:54 +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
0cbfa7b920 parser.leg: print_tree: write to an io.Writer 2012-04-21 23:08:33 +02:00
Michael Teichgräber
4c6a2bc6b5 parser.leg: move concat_str_list implementation into mk_str_from_list 2012-04-21 23:06:04 +02:00
Michael Teichgräber
ef0f35c8b2 parser.leg: mk_link, mk_list: use named return values 2012-04-21 22:51:26 +02:00
Michael Teichgräber
91a38d3048 rename Extensions → Options 2012-04-21 22:37:54 +02:00
Michael Teichgräber
99ba8c18fe README: update to reflect changes for Go 1, cleanup 2012-04-21 01:44:22 +02:00
Michael Teichgräber
fc11ba4282 Parse: take an io.Reader argument instead of a string 2012-04-21 01:19:46 +02:00
Michael Teichgräber
ea9008f19c cmd: move profiling stuff into pprof.go 2012-04-20 13:49:21 +02:00
Michael Teichgräber
178d014fcf go fmt 2012-04-20 13:36:59 +02:00
Michael Teichgräber
ac729cbd2f use the `go' tool where possible
--HG--
rename : cmd/main.go => cmd/markdown/main.go
2012-04-20 13:35:31 +02:00
Michael Teichgräber
0f439963e6 add tags go.r58 and go.r59 2011-12-03 00:47:57 +01:00
Michael Teichgräber
0091d71ca8 Added tag go.r60 for changeset 8f1973a5e086 2011-12-02 22:33:02 +01:00
Michael Teichgräber
d265ac0f21 sync with current Go (gofix go1rename, error) 2011-11-18 18:25:39 +01:00
knieriem
18aa4e492b Merge pull request #3 from holdensmagicalunicorn/master
Spelling fix
2011-08-30 06:55:41 -07:00
holdensmagicalunicorn
5c92526363 Spelling correction in README 2011-08-28 13:20:44 -07:00
Michael Teichgräber
7ce3bfa5ad parser.leg.go: update 2011-07-04 18:48:17 +02:00
Michael Teichgräber
261d8c904a misc/bmprepare.rc: fix 2011-07-04 18:48:03 +02:00
Michael Teichgräber
07c1f008bc misc: add benchmark scripts 2011-07-04 18:25:32 +02:00
Michael Teichgräber
a1392cd0e1 update README 2011-07-04 18:13:48 +02:00
Michael Teichgräber
e93d31a776 misc/devel.mk: add target pprof 2011-07-01 00:40:45 +02:00
Michael Teichgräber
f9048559c7 markdown.go: adjust strings.Split call 2011-06-30 20:52:13 +02:00
Michael Teichgräber
d5e7262b62 leg compiler: use switch optimization 2011-06-29 20:04:44 +02:00
Michael Teichgräber
ec93c2ee28 cmd/main.go: add flag -cpuprofile to enable runtime/pprof profiling 2011-06-29 20:01:24 +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
05ed86d61e Added missing HtmlBlockOl to HtmlBlockInTags. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/09238d8
2011-02-21 09:11:51 +01:00
Michael Teichgräber
33db340b24 Tentative change to tight/loose lists. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/c480d05
2011-02-21 03:19:57 +01:00
Michael Teichgräber
5fa71aa19e Fixed exponential slowdown for some HTML. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/90cb74a
2011-02-21 03:16:05 +01:00
Michael Teichgräber
43b75cb12e Fixed bug in list continuations. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/bdd9c05
2011-02-21 02:58:53 +01:00
Michael Teichgräber
33ef9ad6bc Atx headers: Don't require space after ###. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/6515556
2011-02-21 02:55:06 +01:00
Michael Teichgräber
9a0423b225 Allow Atx header like this: '# header#'. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/7512333
2011-02-21 02:53:09 +01:00
Michael Teichgräber
47a94780b8 Fixed Alphanumeric. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/5b0bd3d
2011-02-21 02:48:43 +01:00
Michael Teichgräber
d8bbdbe0ff Fixed \178 -> \200. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/eb286be
2011-02-21 02:47:24 +01:00
Michael Teichgräber
b9766af7aa Fixed bug in ![nonexistent]. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/cc1be41
2011-02-21 02:46:27 +01:00
Michael Teichgräber
43c0e8660d Changed a &NonAlphanumeric to a !Alphanumeric. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/c5a32d2
2011-02-21 02:39:40 +01:00
Michael Teichgräber
916983bf94 Fixed smart quotes with accented letters. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/aa75ac6
2011-02-21 02:37:19 +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
b3f7b37771 update README 2010-12-13 20:48:33 +01:00
Michael Teichgräber
54f4f31312 add parser.leg.go to help goinstall build the project 2010-12-13 19:44:11 +01:00
Michael Teichgräber
1d57ae66a5 support definition lists 2010-12-13 19:36:35 +01:00
Michael Teichgräber
62502ab7a8 parser.leg: AtxStart: do a quick lookahead for `#' 2010-12-13 18:14:10 +01:00
Michael Teichgräber
13d48d799e parser.leg: HtmlBlock: do a lookahead for `<' 2010-12-13 18:02:24 +01:00
Michael Teichgräber
61becb6c37 parser.leg: mk_element: preallocate slices of elements 2010-12-13 17:49:24 +01:00
Michael Teichgräber
a77ab2f820 Makefile: add target `update-peg' 2010-12-03 23:27:21 +01:00