Ken Domino

Results 839 comments of Ken Domino

Please remove the token print out and reset code and test the parse. Tokenstream reset is deprecated.

I rewrote the generated app from trgen to be more like your program, simplifying your code even more. It still works. Here's a zip with the program. Adjust build.sh to...

> Any ideas on if/when the nuget will be released? It's in [12.11 Antlr4BuildTasks](https://www.nuget.org/packages/Antlr4BuildTasks/12.11.0). The fix was here: https://github.com/kaby76/Antlr4BuildTasks/blob/ab3340b3f0b2036cb12a4c5d75c624707b34ec0e/Antlr4BuildTasks/Antlr4BuildTasks.csproj#L49

We need to see the build output. Delete the bin/ and obj/ directories. Then, perform the build with diagnostics: `dotnet build -v diag` and capture the entire output in a...

Please post the entire input (or inputs) as text, or attach the input in a .txt file (or files). It's best to not post pictures. Thanks.

Input is only 898 lines, takes ~90s to parse, result is success. Yes, this is terrible performance. But, unfortunately expected. This grammar is a direct implementation of the [Java Language...

> So this is a problem of grammar? Yes. It's a grammar problem, not an "Antlr problem". Many of the grammars in this repo can be slow because of ambiguity....

> Is there a solution for treatment? Yes, the grammar should be fixed. I am working my way through the grammars and cleaning up ambiguity and fallbacks. I can address...

Yes, it can. I ported Codebuff to C# but there is the original Java version. See https://scholar.google.com/scholar?hl=en&as_sdt=0%2C22&q=codebuff&btnG= Also check out https://github.com/antlr/codebuff Basically you need to provide a sampling of files...

There is nothing newer written in Java. I ported it to C# but that was several years ago. The papers on Codebuff are a good intro to the code.