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

________________________________
From: J. Stephen Riley Silber [mailto:[email protected]]
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 <[email protected]> 
wrote:

From: Lawson, Stephen R. -ND <[email protected]>
Subject: [antlr-interest] Question regarding Creating Declarative UI Language
To: "'[email protected]'" <[email protected]>
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.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

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

Reply via email to