Comparing version 1.1.6 to 1.1.7
{ | ||
"name": "antlr4ng", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"type": "module", | ||
@@ -22,12 +22,12 @@ "description": "Alternative JavaScript/TypeScript runtime for ANTLR4", | ||
"peerDependencies": { | ||
"antlr4ng-cli": "1.0.2" | ||
"antlr4ng-cli": "1.0.3" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "29.5.5", | ||
"@types/node": "20.6.3", | ||
"@typescript-eslint/eslint-plugin": "6.7.2", | ||
"@typescript-eslint/parser": "6.7.2", | ||
"esbuild": "0.19.3", | ||
"eslint": "8.50.0", | ||
"eslint-plugin-import": "2.28.1", | ||
"@types/jest": "29.5.6", | ||
"@types/node": "20.8.9", | ||
"@typescript-eslint/eslint-plugin": "6.9.0", | ||
"@typescript-eslint/parser": "6.9.0", | ||
"esbuild": "0.19.5", | ||
"eslint": "8.52.0", | ||
"eslint-plugin-import": "2.29.0", | ||
"eslint-plugin-jsdoc": "46.8.2", | ||
@@ -34,0 +34,0 @@ "eslint-plugin-prefer-arrow": "1.2.3", |
@@ -5,4 +5,6 @@ [![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/mike-lischke/antlr4ng/nodejs.yml?style=for-the-badge&logo=github)](https://github.com/mike-lischke/antlr4ng/actions/workflows/nodejs.yml) | ||
# TypeScript Target Runtime for ANTLR 4 | ||
<img src="https://raw.githubusercontent.com/mike-lischke/mike-lischke/master/images/ANTLRng2.svg" title="ANTLR Next Generation" alt="ANTLRng" width="96" height="96"/><label style="font-size: 70%">Part of the Next Generation ANTLR Project</label> | ||
# TypeScript Runtime for ANTLR 4 | ||
This package is a fork of the official ANTLR4 JavaScript runtime (with its TypeScript additions), with the following changes: | ||
@@ -15,2 +17,3 @@ | ||
- Parser and lexer interpreters. | ||
- A couple of bug fixes. | ||
- Consistent formatting (indentation, semicolons, spaces, etc.). | ||
@@ -47,6 +50,6 @@ - Project folder structure is now similar to the Java runtime. | ||
| ---- | -------- | ------- | | ||
| Query Collection| 8569 ms | 232 ms | | ||
| Example File | 1080 ms | 114 ms | | ||
| Large Inserts | 10533 ms | 10537 ms | | ||
| Total | 20220 ms | 10903 ms | | ||
| Query Collection| 8464 ms | 230 ms | | ||
| Example File | 1043 ms | 112 ms | | ||
| Large Inserts | 11022 ms | 10616 ms | | ||
| Total | 20599 ms | 10978 ms | | ||
@@ -61,8 +64,10 @@ The benchmarks consist of a set of query files, which are parsed by a MySQL parser. The query collection file contains more than 900 MySQL queries of all kinds, from very simple to complex stored procedures, including some deeply nested select queries that can easily exhaust available stack space. The minimum MySQL server version used was 8.0.0. | ||
### 1.1.3 - 1.1.4 | ||
### 1.1.3 - 1.1.7 | ||
These 2 releases 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). | ||
These releases contain mostly internal changes and bug fixes. 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. | ||
- Fixed Bug #8 Wrong property name, using `numberOfSyntaxErrors` now. | ||
### 1.1.1 - 1.1.2 | ||
@@ -69,0 +74,0 @@ |
@@ -53,3 +53,3 @@ /* | ||
public get syntaxErrorCount(): number; | ||
public get numberOfSyntaxErrors(): number; | ||
@@ -56,0 +56,0 @@ public getCurrentToken(): Token; |
Sorry, the diff of this file is not supported yet
292926
113