Ken Domino

Results 839 comments of Ken Domino

If you aren't doing so now, please use the Antlr Intellij profiler to find problems in the grammar. If you decide to add symbol table semantics, you'll need to use...

> Rejecting this, means that input accepted by a number of other DB engines gets rejected by the generated parser. Is this Microsoft TSQL or a product from another company?...

Actually, it looks like Antlr does support overriding rules of an imported grammar. Below, SuperArithmetic.g4 imports Arithmetic.g4, and overrides rules in Arithmetic.g4. ``` grammar SuperArithmetic; import Arithmetic; file_ : expression...

It looks like it can be done by import. See this preliminary code. https://github.com/kaby76/AntlrExamples/tree/master/sybase I don't know yet how to include the tsql grammar from another directory, but will check....

There is no xml element in the pom.xml for the Antlr4 Maven test extension. https://github.com/antlr/antlr4test-maven-plugin. So, that testing framework will only work if there's a copy of TSql*.g4 in the...

Anything that deviates from a generated and compiled parser should be considered a bug. No IDE plugin should not be used as the definitive "result". This is because they use...

Compiles ok for me. * dotnet --version: 7.0.101 * csc.exe: Microsoft (R) Visual C# Compiler version 4.4.0-6.22580.4 (d7a61210) * .csproj framework: net6.0 * OS: Windows 11 * Antlr 4.11.1 That...

I think you want to change `htmlTagName`. See the diff below. I don't know if it's correct because I'm not familiar with jsx. Nor does there seem to be a...

What grammar are you using? Neither [javascript/javascript](https://github.com/antlr/grammars-v4/tree/master/javascript/javascript) nor [javascript/jsx](https://github.com/antlr/grammars-v4/tree/master/javascript/jsx) even compile for Cpp. The testing of both of these grammars is [turned off](https://github.com/antlr/grammars-v4/blob/c4775c1c07ef227055682c65cece28add2233782/_scripts/skip-cpp.txt#L83-L84).

I added a "transformGrammars.py" and the target actually builds fine. (I don't read reame.md, and the build needs it in a script that standardized across all targets). The lexer works...