You may want to look at antlr

On Thu, Feb 5, 2009 at 1:39 PM, samurai.monk1 <[email protected]>wrote:

>
> I am working in a port of a very large Java application to PHP.  The
> required path was to modify the Java2Javascript compiler to produce
> PHP code instead of JavaScript. Right now I have found:
>
> JavaToJavaScriptCompiler: I understand that this is the main class.
> JavaToJavaScriptMap.java: My hope was  to see the actual map of java
> keywords etc to the javascript equivalents.
> In other words I am confused.
>
> If you could help me to:
> 1. Find the relevant classes for building and stand alone java to
> javascript translator.
> 2. Is there a stand alone version that only takes a java project (or
> file) and just output the JavaScript file?
> 3. Can the GWT save the java AST to a file?
>
> Note: I understand this is not a PHP forum, so the PHP problem is
> mine. The questions refers to stage one: understanding  and compiling
> a clean Java to Javascript translators.
>
> Really tank you in advance
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to