What is the best tool for creating a Java extension? [closed]
-
21-08-2019 - |
Question
Our project group is working on a Java language extension and we have been trying to figure out what tool we should use for this purpose. The extension will primarily consist of a modification of the concurrency model used in Java. We have been looking at two tools so far: Polyglot and Javacc. Javacc seems to be a bit more easy to use, but as we will be making some significant changes to the language it might still not be a good idea to use it over the more advanced Polyglot as it might be better at coping with the increased complexity.
Do you have any experience with these tools and/or do you have other tool recommendations?
Solution
ANTLR is a very good choice. It's a bit more active than JavaCC, and the documentation is better. There's a book available on Amazon that you'll find to be very helpful.
OTHER TIPS
Check Jetbrain's MPS, but I have no experiences with it so far.