Releases: mike-lischke/antlr4ng
Releases · mike-lischke/antlr4ng
New Point Release
- 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
- 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
- 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
- Fixed addition bug in OrderedHashSet.
- Bug fixes in code which is rarely used (and therefore had no tests)
New point release
- 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
Small HashSet/HashMap improvements.
v3.0.5
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
- 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
- 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
- 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.