Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Adding support for Scala/Groovy/etc.
Adding support for Scala/Groovy/etc. [message #753893] Sun, 30 October 2011 06:52 Go to next message
Alexey Romanov is currently offline Alexey Romanov
Messages: 263
Registered: May 2010
Senior Member
What would be involved in adding support for other JVM languages to WindowBuilder? Can the parser and code generator be extended?
Re: Adding support for Scala/Groovy/etc. [message #753903 is a reply to message #753893] Sun, 30 October 2011 09:44 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric Clayberg
Messages: 857
Registered: July 2009
Location: Boston, MA
Senior Member
Yes. The parser and code generator can both be extended (or new ones added as the case may be). WB currently supports parsing Java code and XML (two different parsers). Note that adding support for a new language is no small undertaking, so you should thoroughly understand the existing parser and code gen first.
Re: Adding support for Scala/Groovy/etc. [message #753904 is a reply to message #753903] Sun, 30 October 2011 09:58 Go to previous messageGo to next message
Alexey Romanov is currently offline Alexey Romanov
Messages: 263
Registered: May 2010
Senior Member
Quote:
WB currently supports parsing Java code and XML (two different parsers).

For XWT? Should have thought of it myself.
Quote:
Note that adding support for a new language is no small undertaking

Unsurprisingly so Smile
Re: Adding support for Scala/Groovy/etc. [message #753907 is a reply to message #753904] Sun, 30 October 2011 10:38 Go to previous message
Eric Clayberg is currently offline Eric Clayberg
Messages: 857
Registered: July 2009
Location: Boston, MA
Senior Member
Yes. The XML parser is used for XWT and GWT UiBinder.
Previous Topic:Control declaration ordering
Next Topic:com.swtdesigner.api.bean problems in latest version
Goto Forum:
  


Current Time: Tue Sep 02 10:17:20 EDT 2014

Powered by FUDForum. Page generated in 0.07224 seconds