MESSAGE
DATE | 2024-03-03 |
FROM | Ruben Safir
|
SUBJECT | Subject: [Hangout - NYLXS] Fwd: [antlr-discussion] ANN: antlr4ng 3.0 - The
|
-------- Forwarded Message -------- Subject: [antlr-discussion] ANN: antlr4ng 3.0 - The best TypeScript runtime for ANTLR4 Date: Sat, 2 Mar 2024 21:56:44 +0100 From: 'Mike Lischke' via antlr-discussion
Reply-To: antlr-discussion-at-googlegroups.com To: 'ANTLR announcements
Hi,
I'm happy to announce the next major release of the antlr4ng TypeScript runtime, which has been greatly improved.
This release completes the conversion of the Java (and JavaScript) ANTRL4 runtime to TypeScript. It's a significant improvement over the existing TS (and JS) runtimes, as it includes now all relevant parts from the Java runtime and has been optimised for performance. It's now twice as fast for cold runs and 20% faster with a warm parser/lexer. Except for small tests where the JS runtime still shines by a very small margin, this one is faster than any other tested TypeScript and JavaScript runtime (antlr4, antlr4ts and antlr4wasm). See the original times taken before the optimisation and the comparison with the other runtimes (https://urldefense.com/v3/__https://github.com/mike-lischke/antlr4wasm/tree/master/benchmarks/mysql__;!!DeIc-uvKXH9G!49vQ1b1lSRAw85TBvD51UyIrsxtzHFwzA0gYnLonuC656zKZ2Mo9ZkmJVsLr1VVFW9v2h2TzqUCqJHdtBlxlpzywdEAfrLMNe-A1$ ) and compare that to the latest numbers in the antlr4ng repo (https://urldefense.com/v3/__https://github.com/mike-lischke/antlr4ng/__;!!DeIc-uvKXH9G!49vQ1b1lSRAw85TBvD51UyIrsxtzHFwzA0gYnLonuC656zKZ2Mo9ZkmJVsLr1VVFW9v2h2TzqUCqJHdtBlxlpzywdEAfrKZh96QG$ ).
Beside the speed improvements there are a number of API changes (hence the new major version), which require some adjustments in your code when you upgrade to this release. If you see problems with it don't hesitate to open an issue in the repo (https://urldefense.com/v3/__https://github.com/mike-lischke/antlr4ng/issues__;!!DeIc-uvKXH9G!49vQ1b1lSRAw85TBvD51UyIrsxtzHFwzA0gYnLonuC656zKZ2Mo9ZkmJVsLr1VVFW9v2h2TzqUCqJHdtBlxlpzywdEAfrK6pBD0z$ ). The new release is available as NPM package too (https://urldefense.com/v3/__https://www.npmjs.com/package/antlr4ng__;!!DeIc-uvKXH9G!49vQ1b1lSRAw85TBvD51UyIrsxtzHFwzA0gYnLonuC656zKZ2Mo9ZkmJVsLr1VVFW9v2h2TzqUCqJHdtBlxlpzywdEAfrHG53aAq$ ).
Regards,
Mike -- https://urldefense.com/v3/__http://www.soft-gems.net__;!!DeIc-uvKXH9G!49vQ1b1lSRAw85TBvD51UyIrsxtzHFwzA0gYnLonuC656zKZ2Mo9ZkmJVsLr1VVFW9v2h2TzqUCqJHdtBlxlpzywdEAfrFuqjUSL$
-- You received this message because you are subscribed to the Google Groups "antlr-discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to antlr-discussion+unsubscribe-at-googlegroups.com. To view this discussion on the web visit https://urldefense.com/v3/__https://groups.google.com/d/msgid/antlr-discussion/23C8A90A-27F7-4112-973C-0E06FAAEB05A*40googlemail.com__;JQ!!DeIc-uvKXH9G!49vQ1b1lSRAw85TBvD51UyIrsxtzHFwzA0gYnLonuC656zKZ2Mo9ZkmJVsLr1VVFW9v2h2TzqUCqJHdtBlxlpzywdEAfrBnQhwnd$ .
_______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
|
|