Ken Domino
Ken Domino
Testing of the TypeScript target is broken. Tests fail with import module problem. ``` $ bash run.sh ../hw-examples/alter_operator.sql Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\msys64\home\Kenne\issues\g4-3890\sql\plsql\Generated-TypeScript-hw\PlSqlLexerBase' imported from C:\msys64\home\Kenne\issues\g4-3890\sql\plsql\Generated-TypeScript-hw\PlSqlLexer.js Did you mean...
There are numerous warnings for the Go and Cpp targets. See https://github.com/antlr/grammars-v4/actions/runs/7183158267 ``` Restore cache failed: Dependencies file is not found in /home/runner/work/grammars-v4/grammars-v4. Supported file pattern: go.sum ... 'antlr4::dfa::Vocabulary::EMPTY_VOCABULARY': Use...
This grammar is obsolete. It is now superseded by python3_12_0, which works better. When this grammar is removed, please close out any PRs and Issues that are still open against...
* The current bnf grammar is really for EBNF. This should be renamed to "ebnf". * A new bnf grammar should be introduced that parses some of the more popular...
See https://github.com/antlr/grammars-v4/pull/3761#issuecomment-1757590264. The problem is that the tester looks at the latest of "master", not the commit that the PR was based on. Somewhere along the way, I will need...
https://github.com/antlr/grammars-v4/actions/runs/6265803494/job/17015394126 ``` Test failed. infix fun box(): String { assertEquals(KVariance.INVARIANT, ((if (true) { (::listOfStrings) } else { (::listOfStrings) }))!!.returnType.arguments.first().variance) } ```
It's likely around [here](https://github.com/antlr/grammars-v4/blob/b1fa155ed842cb9c06b79601dfb7873677f1bd76/_scripts/templates/Go/st.test.ps1#L58). It's not clear why `*>` is not redirecting the stderr message from trwdog saying "Process is taking longer than 300 seconds. Killing process." https://github.com/antlr/grammars-v4/actions/runs/6156077774/job/16704074737?pr=3705#step:22:124 vs https://github.com/antlr/grammars-v4/actions/runs/6156077774/job/16704072326?pr=3705#step:21:46...
This is one of those annoying things I found using the ANTLRv4 grammar in Trash for many years. The antlr/antlr4 grammar allows only valid parses when a lexer rule contains...
[XQuery is to XML what SQL is to databases.](https://www.w3schools.com/xml/xquery_intro.asp) This grammar is very useful for Trash. Up to now, I've been providing tools like trxgrep, trinsert, trdelete, and trreplace, which...
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...