[antlr-interest] Question regarding Creating Declarative UI Language

Lawson, Stephen R. -ND Stephen.R.Lawson.-ND at espn.com
Mon Jun 15 07:22:52 PDT 2009


I am new to ANTLR, and therefore I do not know the full capabilities, or all the appropriate applications and would appreciate any guidance on the following.  I am currently working in the interactive television application space. One technology that I am currently using is the Yahoo Widget Platform (http://connectedtv.yahoo.com/).  All user interface screens and components are laid out and created using JavaScript.  For example, to add a button to a screen, JavaScript would be used to instantiate a button object, setting various attributes (such as location, etc) and then append to a DOM object.  This is all fine and good, but what I would like to do is build a declarative language, similar to the JavaFX JSON style (or XML style language), to lay out these JavaScript components, and then translate the JSON/XML statements into the final JavaScript code which will be deployed on the end users set top box or TV.

My main question is, is ANTLR the appropriate tool for building of a declarative style language and the translation of the language to a final JavaScript output?  If so, is there any documentation regarding using ANTLR for a situation like what I am trying to accomplish?  I appreciate any help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090615/b28c73d7/attachment.html 


More information about the antlr-interest mailing list