Releases: comuns-rpgmaker/schach-parsing
Releases · comuns-rpgmaker/schach-parsing
v1.1.0
v1.0.0
Merged in #8 and #9. Closed Milestone 1.
v0.2.0
Changelog:
- Add
Parser.of
for memoization and apply it everywhere it makes sense; - Add type parameter
E
toParser
base class for error types; - Add type parameter
C
toParser
base class for context-passing types;- Make context handling transparent by introducing a new function
runT
that accepts a context and makingrun
initialize it
automatically; - Add context provider constructor parameter to
Parser
constructor for context initialization; - Implement
TextContext
withrow
andcolumn
for text parsers +index
to 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
ParserResult
and 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
zip
instead of a nestedmap
on aflatMap
; - Add pipeline to automatically bundle the plugin on releases;
Improve number parser
Parse signed numbers and exponential notation.
v0.1.1
Fix issue with operator precedence
Basic functionality + arithmetic proof of concept
- Basic Parser interfaces and combinators, such as
sequence
,many
,oneOf
,or
, etc., as well as Text parsers (char
,digit
,string
, ...) - Arithmetic parser PoC