Ken Domino
Ken Domino
> > That said I think actionTemplates should be a command line option only. Its purpose is to provide a different implementation per target. Making it a grammar option (...
> if I just need 1 target then I can write action code directly in the grammar. So where would the tool find that target-specific file ? I have my...
> @kaby76 > > A side-effect of this proposal, if accepted, will be to remove the need for a per language folder in grammars-v4, except when a base recogniser or...
Trying this PR out on the [python/python3 grammar](https://github.com/kaby76/grammars-v4/tree/df4e27b98c1c9f3b5cfe8d2a1277a8bc25ddbfa3/python/python3). So far I have Cpp, CSharp, and Java working fine. It looks good. The "transformGrammar.py" hack is gone and there are fewer...
This is a multi-step navigation in the parse tree. We don't know your grammar, but obviously there would need to be a rule that recognizes the entire input from `table`...
Your grammar, "Sql", is a combined grammar. Did you clear out the "Lexer grammar" tab in Antlr Lab? Antlr Lab sets up the UI with a default example, which is...
I fixed the Go builds. Turns out Dependabot screws up the go.mod files--removing the reference to Antlr, and the only way I get the version of the Antlr Tool and...
I re-added [tritext](https://github.com/kaby76/Domemtech.Trash/blob/main/src/tritext/readme.md) to Trash and added the `-m` option, which will add `...` and `...` tagging around grammar rules where it appears in the Fortran spec. This way one...
I now have a scraper implementation that extracts all the rules from the [official spec ISO/IEC 1539-1:2023](https://www.iso.org/standard/82170.html). Note, the spec costs ~$200, which I purchased. It seems some rules are...
Additional conversations related to this issue. * https://stackoverflow.com/questions/78596591/lexing-issue-in-antlr4-grammar-for-fortran-2018-token-misclassification#comment138585588_78596591 * https://github.com/antlr/antlr4/issues/4640