<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=084320016-11082006><FONT face=Arial color=#0000ff size=2>There
is a long list of different code generators at <A
href="http://www.codegeneration.net/generators-by-language.php?language=4">http://www.codegeneration.net/generators-by-language.php?language=4</A></FONT></SPAN></DIV>
<DIV><SPAN class=084320016-11082006><FONT face=Arial color=#0000ff size=2>Some
guys here have used Velocity. </FONT></SPAN></DIV>
<DIV><SPAN class=084320016-11082006><FONT face=Arial color=#0000ff size=2>[No
support provided]</FONT></SPAN></DIV>
<DIV><SPAN class=084320016-11082006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=084320016-11082006><FONT face=Arial color=#0000ff size=2>br,
Zoli</FONT></SPAN></DIV>
<DIV><SPAN class=084320016-11082006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=084320016-11082006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
gme-users-bounces@list.isis.vanderbilt.edu
[mailto:gme-users-bounces@list.isis.vanderbilt.edu] <B>On Behalf Of </B>Nicki
Lehmann Møller<BR><B>Sent:</B> Friday, August 11, 2006 3:09 AM<BR><B>To:</B>
gme-users<BR><B>Subject:</B> [gme-users] Strategy for source code
generation<BR><BR></FONT></DIV><SPAN class=gmail_quote></SPAN>Hi Matt<BR>
<DIV><BR>I was simply hoping that there was some simple api that I could use
to generate my output without having to implement it my self. <BR>I imagine
something like <BR><BR>Iterator i = selected.iterator();<BR>while (
i.hasNext()) {<BR> JBuilderObject element = (JBuilderObject)
i.next();<BR><BR> JavaClass jc = SimpleAPI.CreateSource(new
file(element.getName()), Java); <BR>
jc.addAttrib(element.getAttribute(Jadajada, whatever));<BR>
jc.setAttrib(element.getAttribute(Jadajada), value);<BR>
jc.addMethod(new MethodSignature(name, returnType, params))<BR>
jc.defineMethod(name, new MethodDefinition(contentOfTheMethod));<BR>
jc.flush(); //generate a file containing java source code <BR>}<BR><BR>As I
haven't given this example too much thourght there are probably some bad
design issues related to it so please don't give it too much attention. The
main point is that I, with something like this, would be able to create java
or c# source code without having to worry too much about the correctness of my
source code output. <BR><BR>regards, <BR>Nicki</DIV>
<DIV><SPAN class=e id=q_10cfc44eee456124_1><BR><BR>
<DIV><SPAN class=gmail_quote>On 8/11/06, <B class=gmail_sendername>Matthew J.
Emerson</B> <<A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:mjemerson@isis.vanderbilt.edu" target=_blank>
mjemerson@isis.vanderbilt.edu</A>> wrote: </SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Can
you provide some more information on exactly what you're looking for, and
how you would expect it to work? If it doesn't exist, maybe it's worth
building. <BR><BR>--Matt<BR><BR><BR>-----Original
Message-----<BR>From: <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:gme-users-bounces@list.isis.vanderbilt.edu"
target=_blank>gme-users-bounces@list.isis.vanderbilt.edu </A>on behalf of
Adi Mallikarjuna Reddy V<BR>Sent: Thu 8/10/2006 11:18 PM
<BR>To:
gme-users<BR>Cc:<BR>Subject: Re:
[gme-users] Strategy for source code generation<BR><BR>Hey Nicki,<BR>Even I
am also looking for that kind of thing. Even I have to write it
from<BR>scratch to generate code from the model. Is there any one who is
working on <BR>the similar lines?.<BR><BR>Regards<BR>Adi<BR><BR>On 8/11/06,
Nicki Lehmann Møller <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:nicki@itu.dk" target=_blank>nicki@itu.dk</A>>
wrote:<BR>><BR>> Hi all!<BR>><BR>> After having worked a bit
with the GME I'm wondering if some of you guys <BR>> or girls can help
with the transformation of my model into source code<BR>> (preferably C#
but Java will do). I'm currently building my interpreter<BR>> using the
JAVA API (BON) and the only strategy that I know of is to build <BR>> the
whole source code output library myself :( I was however hoping that<BR>>
some of you knew of some tool, api or strategy that could ease the
source<BR>> code generation a bit.<BR>><BR>> Kind regards, <BR>>
Nicki<BR>><BR>><BR>>
_______________________________________________<BR>> gme-users mailing
list<BR>> <A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:gme-users@list.isis.vanderbilt.edu"
target=_blank>gme-users@list.isis.vanderbilt.edu</A><BR>> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users"
target=_blank>http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users</A><BR>><BR>><BR>><BR></BLOCKQUOTE></DIV></SPAN></DIV><BR></BLOCKQUOTE></BODY></HTML>