Mail Archive Home | asm List | November 2006 Index
| <-- Date Index --> | <-- Thread Index --> |
Hi,
Ville Oikarinen schrieb: [...]
I hope you don't mind that I quote your reply so I can keep the discussion public.
no, of course not, it was my mistake.
You are right, I don't want to implement a compiler by my own. That's why I wrote to this mailing list :)
I am fully aware of the different languages that produce bytecde (in fact I used Groovy as a platform for my metalanguage before it grew to a stand-alone functional language). I am not interested in them.
I am interested in generating java source, and optionally, if I get the answer I hope, classes.
If this isn't easily achievable, then I settle for generating java source with ant files and let ant continue from there.
There are many reasons why I want to generate java sources, and not only bytecode directly. The most general reason is that my tool is a metalanguage and thus it should be able to be used for any transformations, including ones that produce java source, and others that consume java source.
But generating java source has also other advantages:
- the users of the metalanguage can understand and debug the generated java sources
- the generated java sources can be published as open "source", a model for which I don't know a better name than my own "open implementation", in which the real source (written in the metalanguage) is closed, but the intermediate source is open, allowing the client to verify the implementation.
So janino and other "almost java" compilers won't do in my case.
bye blackdrag
-- Jochen "blackdrag" Theodorou Groovy Tech Lead (http://groovy.codehaus.org) http://blackdragsview.blogspot.com/
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.