Skip to content

Releases: mike-lischke/antlr4ng

New Point Release

15 Dec 11:34
v3.0.12
28ccec5
Compare
Choose a tag to compare
  • Added debug config for ANLTR4 grammars (for testing).
  • Fixed a wrong method name in DecisionInfo.
  • Removed automatic reordering of start and stop in Interval. It's by intention to accept whatever comes in. Also change Interval.toString() to conform with the Java runtime.
  • IntervalSet accepts a list of values in its constructor, to ease creation for non-continuous value ranges.
  • Fixed source interval retrieval in ParseRuleContext (now working like in Java).
  • Moved isolated test specs to the API folder, to stay close to the other specs.
  • Added a new test spec for XPath.

New Point Release

09 Dec 13:49
v3.0.11
672070c
Compare
Choose a tag to compare
  • Each ATN instance now uses its own instance of the LL1Analyzer. This cannot be shared.
  • Removed a forgotten debug output from the ATNSerialiser.
  • The HashMap now supports enumeration of its keys.
  • The channel value for getHiddenTokensToRight/Left in BufferedTokenStream is now marked as optional (it is already handled that way).

New Point Release

01 Dec 12:37
v3.0.10
893d8b1
Compare
Choose a tag to compare
  • Merged PR #101 prefer ts private keyword instead of # prefix (private fields can make problems with proxies and older target ECMA versions).
  • Added some helper code needed by the ANTLRng tool.
  • Reorder start and stop when creating an Interval instance with start > stop.
  • Changed toString() output of LexerNoViableAltException to be the same like in Java.

New Point Release

21 Nov 09:19
v3.0.9
97ac8bd
Compare
Choose a tag to compare
  • Fixed addition bug in OrderedHashSet.
  • Bug fixes in code which is rarely used (and therefore had no tests)

New point release

16 Nov 15:41
v3.0.8
0d1b951
Compare
Choose a tag to compare
  • Switched from Jest to vitest for unit tests. This increases test speed by around 30% (from ~9s to ~6s).
  • Fixed a few issues too.
  • HashMap can now be created without a parameter for the comparator (it uses the DefaultEqualityComparator then).
  • Exported more types that were forgotten (like RuntimeMetaData).

New point release

29 Sep 08:38
v3.0.6
f80c832
Compare
Choose a tag to compare

Small HashSet/HashMap improvements.

v3.0.5

15 Sep 10:50
v3.0.5
e1984c4
Compare
Choose a tag to compare

What's Changed

  • Refactored local error classes in ParseTreePatternMatcher
  • Fixed bug where ParseTreeVisitor used ParserRuleContext instead of ParseTree.
  • More obvious mentioning of ES6 in this readme.
  • Added a number of APIs that are not necessary in the runtime, but needed by the ANTLR tool.
  • Fixed bug #71 ParseRuleContext in empty input has undefined stop token
  • Fixed bug #72 Unexpected behaviour when token text has zero length
  • Extracted these release notes into an own file.

Full Changelog: v3.0.4...v3.0.5

New point release

17 Mar 11:42
v3.0.4
08335cc
Compare
Choose a tag to compare
  • Fixed visitor example in this readme file and added build instructions.
  • Added back all debug output in the simulators and the prediction context. Useful for finding low level problems.
  • Fixed bug #47 Antlr4ng fails to parse codeql/examples/alias.qll
  • Fixed bug #46 ParserRulecontext.parent() incorrectly typed

New point release

03 Mar 12:01
v3.0.1
c0d3f09
Compare
Choose a tag to compare
  • Had to make Lexer.modeStack public again and allow reading and writing the current lexer mode.
  • Also fixed a number of spelling errors.

New point release

03 Mar 12:00
c0d3f09
Compare
Choose a tag to compare
  • Fix bug #26 getRuleContext is incompatible with generated code (2.0.5)
  • Fixed ProfilingATNSimulator code.
  • Made Token constants explicitly to number, to avoid TSC narrowing them.