Skip to content

Releases: RPTools/parser

Release 2.0.0

Choose a tag to compare

@kwvanderlinde kwvanderlinde released this 02 Apr 23:35
3e42478

Features a new unicode-compatible parser based on antlr4.

Required Java version is now 21.

Part of the fix for RPTools/maptool#3076 and RPTools/maptool#4832

Release 1.8.3

Choose a tag to compare

@Phergus Phergus released this 16 Aug 15:07
19ef2d6

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

Choose a tag to compare

@Phergus Phergus released this 12 Jul 15:20
3e1bfd0

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

Choose a tag to compare

@Phergus Phergus released this 10 Jul 22:18
0e44249

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

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

Release 1.8.0

Choose a tag to compare

@Phergus Phergus released this 16 Jun 12:21
66a0a18

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

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

Release 1.7.1

Choose a tag to compare

@Phergus Phergus released this 27 May 12:14
ed7f35d

More ISO-8859-1 support

Release 1.7.0

Choose a tag to compare

@cwisniew cwisniew released this 27 May 04:14
6751bce

Add support for ISO-8859-1 characters

Release 1.6.0

Choose a tag to compare

@cwisniew cwisniew released this 24 May 03:42
6751bce

Update Gradle and add Macro Stack Trace

Release 1.5.5

Choose a tag to compare

@JamzTheMan JamzTheMan released this 28 Sep 19:47
f9d71bf

Remove self dependency and add antlr build to dependency.

Release 1.5.4

Choose a tag to compare

@JamzTheMan JamzTheMan released this 06 Sep 02:30
1ace76f

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