Skip to content

Releases: comuns-rpgmaker/schach-parsing

v1.1.0

05 Oct 14:45
Compare
Choose a tag to compare
  • Change arithmetic expression model to make it more serializable (this breaks compatibility with the old OperatorExpression model);

v1.0.0

05 Oct 03:28
Compare
Choose a tag to compare

Merged in #8 and #9. Closed Milestone 1.

v0.2.0

11 Sep 00:57
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

Changelog:

  • Add Parser.of for memoization and apply it everywhere it makes sense;
  • Add type parameter E to Parser base class for error types;
  • Add type parameter C to Parser base class for context-passing types;
    • Make context handling transparent by introducing a new function runT that accepts a context and making run initialize it
      automatically;
    • Add context provider constructor parameter to Parser constructor for context initialization;
    • Implement TextContext with row and column for text parsers + index to avoid excessive substringing;
  • Make all existing combinators consistent with the new error and context-passing types;
  • Make ParserResult and context independent to make run'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 nested map on a flatMap;
  • Add pipeline to automatically bundle the plugin on releases;

Improve number parser

28 Aug 03:56
Compare
Choose a tag to compare
Improve number parser Pre-release
Pre-release

Parse signed numbers and exponential notation.

v0.1.1

27 Aug 03:35
Compare
Choose a tag to compare
v0.1.1 Pre-release
Pre-release

Fix issue with operator precedence

Basic functionality + arithmetic proof of concept

27 Aug 03:12
Compare
Choose a tag to compare
  • Basic Parser interfaces and combinators, such as sequence, many, oneOf, or, etc., as well as Text parsers (char, digit, string, ...)
  • Arithmetic parser PoC