Skip to content

Releases: mike-lischke/antlr4ng

New point release

11 Nov 10:33
v2.0.2
df00ed6
Compare
Choose a tag to compare
  • There are changes in the package content (typings are now in the dist folder too, instead of source).
  • There are now index.ts files in every folder and used for the final export index.ts. This makes it easier to see if something is missing and to include new or renamed files.
  • And there are some build changes/fixes as preparation for profiling the runtime.

New major release

07 Nov 16:26
v2.0.1
0c3d1fa
Compare
Choose a tag to compare

The entire runtime now exclusively uses TypeScript. It was tested with the standard ANTLR4 runtime tests and completed the test suite successfully.

New point release of the tool generator

07 Nov 12:39
v1.0.4-cli
7e027c1
Compare
Choose a tag to compare

Code generation changes:

  • More locations where the override keyword is needed in generated classes.
  • ParserRuleContext._ctx was renamed to ParserRuleContext.context in the runtime.
  • Optional null result for listener/walker methods.
  • TokenStream.getText no longer needs a temporary interval as parameter, but can directly work with start and stop values.

New Point Release

28 Oct 10:24
v1.1.7
7c2a20e
Compare
Choose a tag to compare

Fixed bug #8

Also, releases will no longer be marked as pre-release. They are fine to be used where standard antlr4 and antlr4ts were used before.

New Point Release

28 Sep 07:35
v1.1.5
dd28eb7
Compare
Choose a tag to compare
New Point Release Pre-release
Pre-release

This release contain mostly internal changes. The antlr4ng-cli tool dependency has been updated to the latest version and build + test processes has been improved (esbuild instead of webpack, Jest instead of Jasmine).

There are also some smaller fixes in Interval and ParseTreeVisitor. The latter now has the same implementation as the Java runtime.

New Minor Release

19 Sep 11:38
Compare
Choose a tag to compare
New Minor Release Pre-release
Pre-release

This release includes a lot of cleanup.

  • Generated parser rules that can appear as either returning a single parse context or a list of that no longer use the __list() appendix in their name. Instead method overloading is used now to distinguish between the two cases.
  • The members getTypedRuleContext and getTypedRuleContexts have been renamed to getRuleContext and getRuleContexts respectively, just as in the Java runtime.
  • There are more renames (_errHandler -> 'errorHandler, _input->inputStream` and more).
  • The package has been stripped down to just a single bundle file. This is an ESM module now, so it can be used in both, node and browser environments. No differentiation is made anymore between the two.
  • The internal folder structure has been changed to match the Java runtime.
  • Extended some classes, added new type definitions and exported some more classes.
  • Improved BitSet to use less memory.

v1.0.6

11 Sep 13:16
Compare
Choose a tag to compare
v1.0.6 Pre-release
Pre-release

This release contains a number of bug fixes that show up only under certain circumstances (manual token creation, XPath use).

Fixed some issues

08 Sep 15:36
Compare
Choose a tag to compare
Fixed some issues Pre-release
Pre-release

I'm actually working with the new package in a large project and fixed a number of issues found while migrating from antlr4ts.

Initial Release

07 Sep 13:16
Compare
Choose a tag to compare
Initial Release Pre-release
Pre-release

Out of the need to have a well working ANTLR4 runtime, which includes at least TypeScript type definitions, this package was created.

Note: to work out of the box this runtime needs parser files generated with an updated ANTLR4 tool jar, which is not yet available here. Will be in one of the next releases. Meanwhile you can use ANTLR4 4.13.1 and manually update the generated files, if you are in real need.