Friday, September 18, 2015

Re: ANTLR GWT


With JavaCC you get code that is not dependant on any JAR and I think that I've seen that JavaCC can generate javascript code.

Yes, starting with JavaCC 6.1 you can use the "modern" mode to generate Java that can be translated to JavaScript via GWT.

A tutorial + Demo project can be found here:
Tutorial Part 1: http://consoliii.blogspot.co.uk/2014/04/creating-gwt-compatible-parser-using.html
Tutorial Part 2: http://consoliii.blogspot.co.uk/2014/04/creating-gwt-compatible-parser-using_15.html
Demo Project: https://github.com/ainsley/javacc_gwt_tutorial

-- J.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment