small medium large xlarge

28 Apr 2015, 17:34
Matt Stephens (3 posts)

I have developed a grammar for a DSL for our product and am super impressed with how quickly I have been able to put it together with Antlr4 in C#. Many thanks for the book and your work on Antlr. Now we want to provide some context aware editing support. Is it possible to use the parse tree or a listener to locate and identify tree nodes at specific character positions? Is it then possible to determine what grammar items would be valid at specific locations?

08 May 2015, 15:31
Terence Parr (50 posts)

There is a “get next tokens” function that is a good start but it’s a hard problem. Ter

You must be logged in to comment