Maurice Makaay
|
4580962fb8
|
Backup a load of work on typed token support, making it easy to produce tokens directly from parser/combinator-based parsing rules.
|
2019-06-04 00:03:08 +00:00 |
Maurice Makaay
|
21f1aa597c
|
Made the panic() calls (which basically indicate parser implementation bugs) more useful by referencing from where illegal calls were made.
|
2019-05-29 07:24:27 +00:00 |
Maurice Makaay
|
2fa5b8d0f4
|
OCD ..OCD ...OCD ...
|
2019-05-29 00:01:24 +00:00 |
Maurice Makaay
|
1e7ec7553a
|
Tiny fix in variable naming, because the test had grown in a different direction.
|
2019-05-28 23:59:02 +00:00 |
Maurice Makaay
|
d31d09abf0
|
Added crude loop protection to the parser, which should prevent parsers running in circles (happened to me a few times too).
|
2019-05-28 23:01:23 +00:00 |
Maurice Makaay
|
7aff3fc43e
|
Added a nice example that shows how a []string-based type can be turned into a parser that fills its own slice elements during parsing.
|
2019-05-28 14:38:04 +00:00 |