e2c5841115
Any(): print all possible values
...
When all of the parsers in Any() fail, instead of printing just the
longest error, we print the list of all failed/expected values. The
position of the error will still remain that of the longest one.
2020-02-25 21:59:14 +01:00
cf289e6474
added .Input to newly created Results
2019-11-29 07:50:44 +01:00
e2fa16706c
added .Start and .End to Result
2019-11-28 15:34:30 +01:00
9bc60a2311
applying upstream patch for github.com/vektah/goparsify/issues/3
2019-06-18 13:21:21 +02:00
Adam Scarr
8a5260ae50
remove branch predictor in Any
...
fixes #2
2018-06-11 11:54:35 +10: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
51ad26c781
Optimize allocs in many
2017-08-13 20:25: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
79b7cc082c
Add one byte prediction to Any()
2017-08-13 15:28:43 +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
dc3c5a8325
Add a regex parser
2017-08-09 21:43:09 +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
acd48fdfa4
Add readme and calc example
2017-08-08 23:11:47 +10:00
Adam Scarr
6e1c004fea
Add Bind for constants
2017-08-07 22:57:06 +10:00
Adam Scarr
4594587e3b
More perf tweaks
2017-08-07 22:38:34 +10:00
Adam Scarr
88aaf567a5
*Node -> Node
2017-08-07 21:45:12 +10:00
Adam Scarr
132876fce4
Small perf tweaks
2017-08-07 21:38:46 +10:00
Adam Scarr
a656dc0d78
AutoWS
2017-08-07 21:22:54 +10:00
Adam Scarr
cc9d18219a
add debugging
2017-08-07 20:07:29 +10:00
Adam Scarr
02103782eb
Return Node instead of interface
2017-08-07 18:45:40 +10:00
Adam Scarr
666ea93dba
Eliminate a bunch of allocations
2017-08-06 23:32:10 +10:00
Adam Scarr
a65a9325aa
Get the HTML parser working
2017-08-06 17:02:39 +10:00
Adam Scarr
68cde88125
Initial commit
2017-08-06 14:31:35 +10:00