[antlr-interest] Question regarding Creating Declarative UI Language

Lawson, Stephen R. -ND Stephen.R.Lawson.-ND at espn.com
Mon Jun 15 11:16:49 PDT 2009


I appreciate the help.  I will take a look at the books.

________________________________
From: J. Stephen Riley Silber [mailto:jsrs701 at yahoo.com]
Sent: Monday, June 15, 2009 1:57 PM
To: Lawson, Stephen R. -ND
Subject: Re: [antlr-interest] Question regarding Creating Declarative UI Language

Hi Stephen,

(Excellent spelling of your name, by the way.)

ANTLR is indeed a great foundation for a language translator.  As for how to do it, check out Terrence's books.

* http://www.pragprog.com/titles/tpantlr/the-definitive-antlr-reference  This is how to use ANTLR at the nitty-gritty level.

* http://www.pragprog.com/news/language-design-patterns-the-seed-of-hope  This is a book of design patterns that will, frankly, get you right where you need to be.  (When it's finished, actually.  It's in beta now, but is VERY readable.)

Have fun!  This is a great tool and a great community.

--Stephen

--- On Mon, 6/15/09, Lawson, Stephen R. -ND <Stephen.R.Lawson.-ND at espn.com> wrote:

From: Lawson, Stephen R. -ND <Stephen.R.Lawson.-ND at espn.com>
Subject: [antlr-interest] Question regarding Creating Declarative UI Language
To: "'antlr-interest at antlr.org'" <antlr-interest at antlr.org>
Date: Monday, June 15, 2009, 7:22 AM

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.

-----Inline Attachment Follows-----


List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address


________________________________
Please consider the environment before printing this e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090615/21e72986/attachment.html 


More information about the antlr-interest mailing list