[antlr-interest] Generating help/completions from antlr

Pete Wyckoff pwyckoff at facebook.com
Fri Oct 24 13:55:02 PDT 2008


I am using antlr to parse commands entered in jline and am wondering:

1. is there a pretty print for antlr grammers that prints it out in user
friendly format for a 'help' command.

2. Is it possible to use the ast on a partial input to generate a list of
potential next tokens (assuming backtracking is off).

Thanks, pete




More information about the antlr-interest mailing list