Commit Graph

70 Commits

Author SHA1 Message Date
29336c8a7a Merge branch 'master' of github.com:/oec/goparsify 2019-11-28 15:34:37 +01:00
e2fa16706c added .Start and .End to Result 2019-11-28 15:34:30 +01:00
7235574102 cleanup files 2019-06-18 13:51:23 +02:00
7c62ed1a6b vektah -> oec to make it self-contained 2019-06-18 13:49:22 +02:00
ef954d857c Merge branch 'master' of github.com:/oec/goparsify 2019-06-18 13:41:06 +02:00
9bc60a2311 applying upstream patch for github.com/vektah/goparsify/issues/3 2019-06-18 13:21:21 +02:00
b9b0f69ccf expose Remaining in UnparsedInputError 2019-06-18 13:14:22 +02:00
6b9cd80df5 use Fprint instead of Fprintf in debug 2019-06-16 12:14:02 +02:00
68e6e3dab8 different tag for Chars and NotChars 2019-06-16 12:10:05 +02:00
7784031254 use Sprint instead of Sprintf 2019-06-16 11:31:04 +02:00
16cf31e9e9 fix wrong arguments in fmt.Sprint 2019-06-16 11:25:22 +02:00
3322278f7c vektah -> oec 2019-06-16 11:20:10 +02:00
Adam Scarr
3e20a3b924 appease the linting gods 2018-06-11 12:02:50 +10:00
Adam Scarr
f98f07b765 update benchmark in readme 2018-06-11 11:56:37 +10:00
Adam Scarr
8a5260ae50 remove branch predictor in Any
fixes #2
2018-06-11 11:54:35 +10:00
Adam Scarr
981f4347b1 cleanup parseMatcher 2018-06-11 11:33:15 +10:00
Ted Kornish
268bdd51a1 Only skip past hyphens that are truly part of ranges 2018-03-01 11:40:29 -08:00
Ted Kornish
c43616cf3a Don't parse hyphens in Chars() unless escaped 2018-03-01 11:31:45 -08:00
Ted Kornish
161cb77e53 Add failing test for chars with a hyphen 2018-03-01 11:11:40 -08:00
Adam Scarr
0f854720ca Make until only work on string terminators 2017-08-15 18:57:00 +10:00
Adam Scarr
ddb61bdfc0 Add an Until function 2017-08-13 22:11:27 +10:00
Adam Scarr
139e7606f4 Update benchmarks 2017-08-13 21:20:41 +10:00
Adam Scarr
1c37779bd4 Use .Token to return from StringLit to avoid convT2E 2017-08-13 20:50:21 +10:00
Adam Scarr
51ad26c781 Optimize allocs in many 2017-08-13 20:25:41 +10:00
Adam Scarr
a733d0ae13 Improve debugging output 2017-08-13 19:50:41 +10:00
Adam Scarr
a4677a5834 Clean up autows 2017-08-13 19:27:41 +10:00
Adam Scarr
5716ddb5e7 Pass result in instead of returning 2017-08-13 18:56:23 +10:00
Adam Scarr
0dc37ae5bc Remove a few allocs from Run 2017-08-13 16:56:12 +10:00
Adam Scarr
f633909141 Markdown output from DumpDebugStats 2017-08-13 15:42:51 +10:00
Adam Scarr
79b7cc082c Add one byte prediction to Any() 2017-08-13 15:28:43 +10:00
Adam Scarr
e30b922764 More debugging perf stats 2017-08-13 14:10:07 +10:00
Adam Scarr
77930f8f06 Add map shorthand 2017-08-13 13:00:22 +10:00
Adam Scarr
f5b81e8e2e Fix godoc 2017-08-11 00:54:27 +10:00
Adam Scarr
c160e565ba Fix unexported Unmarshal 2017-08-11 00:10:58 +10:00
Adam Scarr
60dd11deee Add go report card 2017-08-11 00:08:08 +10:00
Adam Scarr
b2713a0653 Remove magic -parselogs flag 2017-08-10 22:41:07 +10:00
Adam Scarr
382f7b63be Update readme.md 2017-08-10 22:30:58 +10:00
Adam Scarr
79d2c5e1c9 Fix cut example 2017-08-10 22:22:19 +10:00
Adam Scarr
945e9f0ef0 Improve cut godoc 2017-08-10 22:10:30 +10:00
Adam Scarr
8a92b5348f Unicode safe by default 2017-08-10 22:06:08 +10:00
Adam Scarr
a0e66b1c46 Document cuts 2017-08-10 22:01:06 +10:00
Adam Scarr
af542eff9e Add parse logging 2017-08-10 21:08:18 +10:00
Adam Scarr
b64fcfaa61 Add a unicode whitespace parser 2017-08-09 22:14:27 +10:00
Adam Scarr
d285a0badc Fix missing coverage 2017-08-09 21:58:36 +10:00
Adam Scarr
dc3c5a8325 Add a regex parser 2017-08-09 21:43:09 +10:00
Adam Scarr
d4b58316bc Update readme 2017-08-09 21:26:27 +10:00
Adam Scarr
47badae641 Add godoc 2017-08-09 21:19:41 +10:00
Adam Scarr
8b2f10f238 Rename some things 2017-08-09 19:37:32 +10:00
Adam Scarr
b62ae2f567 Add CircleCI 2017-08-08 23:45:39 +10:00
Adam Scarr
acd48fdfa4 Add readme and calc example 2017-08-08 23:11:47 +10:00