v0.2.0
Pre-release
Pre-release
Changelog:
- Add
Parser.offor memoization and apply it everywhere it makes sense; - Add type parameter
EtoParserbase class for error types; - Add type parameter
CtoParserbase class for context-passing types;- Make context handling transparent by introducing a new function
runTthat accepts a context and makingruninitialize it
automatically; - Add context provider constructor parameter to
Parserconstructor for context initialization; - Implement
TextContextwithrowandcolumnfor text parsers +indexto avoid excessive substringing;
- Make context handling transparent by introducing a new function
- Make all existing combinators consistent with the new error and context-passing types;
- Make
ParserResultand context independent to makerun's signature completely oblivious to the parsing context; - Add tests to cover the text parsers;
- Add CI pipelines for tests and coverage (+ badges! /o/).
- Minor refactoring on some arithmetic parsers to use
zipinstead of a nestedmapon aflatMap; - Add pipeline to automatically bundle the plugin on releases;