Ken Domino
Ken Domino
Hi @Gashmob Yeah there is no easy fix. My plan is to scape the grammar from the spec which I have a copy of. I have a program that scapes...
lab.antlr.org cannot be used with [lua](https://github.com/antlr/grammars-v4/tree/a9c0af477e3047be24abf525043db4e3b71d5f08/lua) because it contains Antlr "actions". https://github.com/antlr/grammars-v4/blob/a9c0af477e3047be24abf525043db4e3b71d5f08/lua/LuaLexer.g4#L123 It should not even offer the list of grammars UI because lab.antlr.org uses [grammars.json](https://github.com/antlr/grammars-v4/blob/a9c0af477e3047be24abf525043db4e3b71d5f08/grammars.json), which is constructed to...
None of the examples/*.py tested `as_pattern`, `closed_pattern`, `star_pattern`, or `double_star_pattern` before. Yes, please add these so I can test the ambiguity. (The grammar before your changes has ambiguities.).
Some fixes are in order. * Undo the deletion of the TypeScript target and re-add the 4.13.2 requirement in desc.xml. The TypeScript port can't work without the changes that happened...
The official Oracle grammar parses the input. ``` 01/03-11:31:58 ~/issues/g4-current/sql/mysql/Oracle/Generated-CSharp $ trparse -i 'INSERT INTO abc (a,b,c) VALUES ROW(1,2,3), ROW(4,5,6), ROW(7,8,9);' | trtree CSharp 0 string success 0.135053 queries ├──...
The [c grammar](https://github.com/antlr/grammars-v4/tree/af3d5f7397685bfead506defe96643d3971abbbd/c) does not implement preprocessor directives, including `#line`. We don't implement a preprocessor. But, let's assume that you generated the post-processed input via `cpp` or `gcc -E`. This...
It's caused by running `npm i -g --save-dev antlr-format-cli`, which is a prereq for the static checks, specifically for formatting. The ``` 05/30-07:13:45 ~/issues/g4-4121/sql/snowflake $ npm i -g --save-dev antlr-format-cli...
Found it. I need to do "where antlr-format", go do the owning directory and start fishing around for the package.json for the file. ``` { "name": "antlr-format-cli", "version": "1.2.5", "description":...
(This bug is fixed with [Mike's latest antlr-format-cli](https://www.npmjs.com/package/antlr-format-cli). There may be other issues, but the last workflow run seems ok.)
This file will interfere with testing because all files, except those with .tree or .errors extension, are input files to be parsed. The .md is not input! The readme.md file...