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
390017951e
Remove superfluous fmt.Println in test
2020-02-25 21:56:48 +01:00
9bc60a2311
applying upstream patch for github.com/vektah/goparsify/issues/3
2019-06-18 13:21:21 +02:00
Adam Scarr
3e20a3b924
appease the linting gods
2018-06-11 12:02:50 +10: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
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
77930f8f06
Add map shorthand
2017-08-13 13:00:22 +10:00
Adam Scarr
60dd11deee
Add go report card
2017-08-11 00:08:08 +10:00
Adam Scarr
945e9f0ef0
Improve cut godoc
2017-08-10 22:10:30 +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
d285a0badc
Fix missing coverage
2017-08-09 21:58:36 +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
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
8b343d6360
Clean up Pointer
2017-08-06 15:43:23 +10:00
Adam Scarr
68cde88125
Initial commit
2017-08-06 14:31:35 +10:00