grammars-v4 icon indicating copy to clipboard operation
grammars-v4 copied to clipboard

[typescript target] There are still a few grammars that reference the old antlr4ts

Open kaby76 opened this issue 2 years ago • 0 comments

I was copying some code around and found that it referenced the old "antlr4ts" target. This is not used anymore. Antlr 4.13.0 supports the TypeScript target directly.

$ grep . -R -e antlr4ts --include='*.ts'
./javascript/typescript/TypeScript/TypeScriptLexerBase.ts:import {Lexer, Token, CharStream} from "antlr4ts";
./javascript/typescript/TypeScript/TypeScriptParserBase.ts:import {Parser, Lexer, Token, TokenStream} from 'antlr4ts';
./kirikiri-tjs/TypeScript/TJSBaseLexer.ts:import { Lexer, CommonTokenStream } from "antlr4ts";
./kirikiri-tjs/TypeScript/TJSBaseParser.ts:import { CommonTokenStream, Parser, Lexer } from "antlr4ts";
./sql/plsql/TypeScript/PlSqlLexerBase.ts:import { Lexer } from "antlr4ts";
./sql/plsql/TypeScript/PlSqlParserBase.ts:import { Parser, TokenStream } from "antlr4ts"

kaby76 avatar Jul 18 '23 00:07 kaby76