Re: JavaML

Martin Klang <[email protected]> Sat, 6 Mar 2004 00:32:22 +0000
Newsgroups gmane.text.xml.o-xml
Message-ID <[email protected]>
Windson -

I've had a brief look at JavaML, it's an interesting project and their 
transformation to Java could well be useful.

There are still some key transformation steps needed to turn o:XML into 
(something like) JavaML -
expressions have to be parsed and evaluated, function calls must be 
resolved dynamically etc.
Another notable difference between Java and o:XML is that o:XML allows 
for multiple inheritance, which of course Java does not.

All these problems can be solved, and must be solved for any 
transformation of o:XML to Java. Once done, it may prove easier to 
transform into JavaML, as it is structured XML, rather than straight to 
text-Java.

Another project that takes the notion of Java representations in XML 
further is Marko Topolniks Jezix [1], which has broader (more 
ambitious!) design goals than JavaML. Jezix also has a stylesheet for 
generating plain-text Java, and so could be considered as an 
alternative to JavaML.

As I might have mentioned already, I've been making some good progress 
recently with transformations.
There are still several issues and problems to resolve, but I'm hoping 
to release a beta transformation soon(-ish). And there's a SAX filter 
that parses expressions too - let me know if you want instructions for 
use!


[1] Jezix: http://www.tel.fer.hr/users/mtopol/jezix/

cheers,

/m


On 3 Mar 2004, at 13:37, Windson Viana de Carvalho wrote:

> Martin,
>
> Did you know what is JavaML? I think JavaML can help us. JavaML is a
> XML-based representation of Java source code. So we transform O:xml in
> JavaML and use the tools at the site
> http://www.cs.washington.edu/homes/gjb/JavaML/
> to transform JavaML in Java. Can it be?
>
>
>
> Windson
>
> _______________________________________________
> o-xml mailing list
> o-xml-zRfLyl9bSvv/[email protected]
> http://lists.pingdynasty.com/mailman/listinfo/o-xml
>