Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for grun #30

Open
phdoerfler opened this issue Mar 27, 2021 · 1 comment
Open

Support for grun #30

phdoerfler opened this issue Mar 27, 2021 · 1 comment

Comments

@phdoerfler
Copy link

I'd like to test the generated parser using grun aka org.antlr.v4.gui.TestRig. Amongst other things it provides a simple GUI:

Grun GUI

This is probably trivial to do if the example on the ANTLR website is anything to go by:

$ antlr4 Expr.g4
$ javac Expr*.java
$ grun Expr prog -gui
100+2*34
^D

How about adding a task "grun" or perhaps run in Antlr4 or test in Antlr4 that starts grun? Thoughts?

@ihji
Copy link
Owner

ihji commented Apr 16, 2021

Yes, definitely good to have. I will add this feature sooner or later but can't promise the exact date (PRs are always welcome btw 😄 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants