Ken Domino

Results 839 comments of Ken Domino

Yep. It can't find the generated classes because they're in the wrong namespace when code was generated by the tool--the base classes are in namespace "PlSqlParseTree". I forgot to add...

Submitted https://github.com/antlr/grammars-v4/issues/1976 in the Grammars-v4 repo for multiple issues (no CI builds, targeting ancient Antlr runtime, wrong namespace).

> Regarding the "_input" in the C# generated files should be InputStream Correct. "_input" should be InputStream in C# Antlr4.Runtime.Standard. It could, of course, be for another runtime like Java,...

Using the arithmetic.g4 grammar in the template, I added these few lines from the PL/1 grammar: e : eb | '(' e ')' ; eb : e '+' e |...

If I remove the "| varnameref" alternative from expr, the transform "works" and I end up with this (after adding in "varnameref expr1"): expr : varnameref expr1 | exprconst expr1...

> Keep in mind that last expression rules most likely are not correct because '+' and '-' have a similar priority but in your case, '+' has more priority than...

Start cmd or bash or powershell. Type 'trash'. No options. No args. It reads stdin. It's a shell program. I'll have to be more clear in the doc.

Actually, you are right. In cmd.exe, or powershell.exe, trash.exe returns immediately. I don't know why. I always use Git Bash or Cygwin--I cannot stand such primitive shells like cmd.exe or...

OK, I still do not know why NET Core is having a fit, and even after doing a `dotnet publish`, this still is not running right. It could be because...

Some progress on this issue. I figured out that I can call Antlr recursively for a code block for action blocks. A prototype for this idea is here. https://github.com/kaby76/AntlrExamples/tree/master/AntlrTargetCSharp