parser: introduce TextParser and refactor Parser #7

Merged
amery merged 5 commits from pr-amery-textparser into main 1 year ago

5 Commits

Author SHA1 Message Date
Alejandro Mery 30a86e170b parser: use GetPositionalLength() on TextParser.Discard() and TextParser.Emit() 1 year ago
Alejandro Mery 8cc75da138 parser: introduce GetPositionalLength() 1 year ago
Alejandro Mery 01cd4139bd parser.Parser: refactor using TextParser 1 year ago
Alejandro Mery e34e8eda0a parser.TextParser: AcceptNewLine() and AcceptRune() 1 year ago
Alejandro Mery ecff6f6016 parser: introduce generic-ish TextParser 1 year ago