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

Can the antlr grammar be cleaned of all the Java code? #85

Open
spullara opened this issue Aug 21, 2019 · 0 comments
Open

Can the antlr grammar be cleaned of all the Java code? #85

spullara opened this issue Aug 21, 2019 · 0 comments

Comments

@spullara
Copy link

Right now I'd say it is a pretty non-standard ANTLR 4 grammar and detracts from the idea that this is a "SimpleLanguage". Most people that use Antlr use the generated visitor for compilation. For example, even a complicated grammar like for Java8 has very little (almost none except for checking character classes) Java code in the specification:

https://github.com/antlr/grammars-v4/blob/master/java8/Java8.g4

Is it a peculiarity of Truffle that requires it?

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

1 participant