Skip to content

Releases: RPTools/parser

Release 1.8.3

16 Aug 15:07
19ef2d6
Compare
Choose a tag to compare

Updated so that true/false are no longer tokens and will instead be identifiers.

Added code to MapVariableResolver to treat these as constant (as its the closest thing that this parser has to a symbol table).

Part of fix for RPTools/maptool#2168

Release 1.8.2

12 Jul 15:20
3e1bfd0
Compare
Choose a tag to compare

Make caching of parsed expressions possible in parser/dicelib. Caching is implemented in MaptoolExpressionParser.

The parser library interface changes externally from:
new Parser(resolver, true).parseExpression("Hello").evaluate()
to
new Parser(true).parseExpression("Hello").evaluate(resolver)

Gives a 2-6 factor improvement for re-running macros (or expressions in a loop). The longer the expression parsed, the more advantageous it is. See RPTools/maptool#1898 (comment)

See also:
https://github.com/RPTools/parser#45
https://github.com/RPTools/dicelib#57
RPTools/maptool#2086

Release 1.8.1

10 Jul 22:18
0e44249
Compare
Choose a tag to compare

Make +, ==, !=, eqs, neqs work for non-string/bigdecimal arguments.

See RPTools/maptool#1898
And: RPTools/maptool#2062

Release 1.8.0

16 Jun 12:21
66a0a18
Compare
Choose a tag to compare

Add support for logical operators to Expression.format()/InlineTreeFormatter.

Part of macro performance improvements. See MapTool #1898 and DiceLib #43.

Release 1.7.1

27 May 12:14
ed7f35d
Compare
Choose a tag to compare

More ISO-8859-1 support

Release 1.7.0

27 May 04:14
6751bce
Compare
Choose a tag to compare

Add support for ISO-8859-1 characters

Release 1.6.0

24 May 03:42
6751bce
Compare
Choose a tag to compare

Update Gradle and add Macro Stack Trace

Release 1.5.5

28 Sep 19:47
f9d71bf
Compare
Choose a tag to compare

Remove self dependency and add antlr build to dependency.

Release 1.5.4

06 Sep 02:30
1ace76f
Compare
Choose a tag to compare

Changed checkParameters() error messages to always give name of function.

Release 1.5.3

21 Apr 16:22
9d8e339
Compare
Choose a tag to compare

Discoverable via jitpack.io