Commit Graph

5 Commits

Author SHA1 Message Date
Alec Thomas e75e1ca88a refactor: switch to alecthomas/assert 2022-06-21 20:58:10 +10:00
Simon Frei 5a9c9c7864 Bubble errors instead of panicking (#194) 2021-08-19 18:00:53 +10:00
Alec Thomas 29fe92f286 Only reset grammar when Apply()ing.
Also add a Kong.Help() function for writing context-sensitive help.
2018-06-13 12:10:04 +10:00
Gerald Kaszuba 886edb6f5a Extend Tag for non-core decoders (Fixes #14) 2018-05-23 11:50:46 -04:00
Gerald Kaszuba ecd369e622 Kong tag PR fixes (#12)
* Removed bubbling errors in favour of panic
* Added a test for Parse with a bad build and an arg.
* Removed is() function in favour of a switch with strings
* Collect key and value in parseCSV, reducing complexity.
* Fix in global to not use parser instance on error.
2018-05-22 09:18:08 -04:00