Open SimonSntPeter opened 4 years ago
Converting this proj to my grammar, this really threw me in Program.cs where it failed
var tree = parser.file();
Because file has no obvious link to parsing expressions I got lost until I checked the antlr book, so it turns out it really is the grammar
file : expression (SEMI expression)* EOF;
If this was called expressions instead of file I'd have found it immediately.
A dumb mistake on my part but FYI.
Thanks for the suggestions. I'll incorporate what I can to clarify the doc and template code.
Hi, from https://stackoverflow.com/questions/63191238/antlr4-runtime-problem-in-visual-studio-2019, trivial stuff but still.