Hi,<br><br>thanks to all of you.<br>i will surely consider your suggestions.<br>for the time being i will try to modify the current tao_idl compiler code to generate constructors (keeping in mind the points given by Johnny &
J.T. Conklin).<br>One more thing i would like to ask, the parser (SunSoft) will not add commented code in the IDL file as a node in the AST.<br>So is there anyway to tell parser that do include the comments in the IDL file as the nodes in the AST.
<br>If yes after doing this will the normal (means the current and not the one which i have modified) tao_idl ignore these comments?<br><br><div class="gmail_quote">On Nov 22, 2007 12:20 AM, Douglas C. Schmidt <<a href="mailto:schmidt@dre.vanderbilt.edu">
schmidt@dre.vanderbilt.edu</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Hi Folks,<br><div class="Ih2E3d"><br>> The linked paper is on the use of patterns to implement
<br>> AMI in TAO. I skimmed the paper quickly - if there are<br>> any references to the IDL compiler in it, they are not<br>> very significant ;-).<br><br></div>Sorry, I was "off-by-one" - please see<br>
<br><a href="http://www.cs.wustl.edu/%7Eschmidt/PDF/ami1.pdf" target="_blank">http://www.cs.wustl.edu/~schmidt/PDF/ami1.pdf</a><br><br>for the article that discusses hw the TAO IDL compiler backend can be<br>extended to generate different sorts of stuff.
<br><br>Thanks,<br><br>Doug<br><div><div></div><div class="Wj3C7c"><br>> Jeff<br>><br>> > -----Original Message-----<br>> > From: <a href="mailto:schmidt@dre.vanderbilt.edu">schmidt@dre.vanderbilt.edu</a>
[mailto:<a href="mailto:schmidt@dre.vanderbilt.edu">schmidt@dre.vanderbilt.edu</a>]<br>> > Sent: Wednesday, November 21, 2007 10:14 AM<br>> > To: <a href="mailto:jtc@acorntoolworks.com">jtc@acorntoolworks.com
</a>; Jeff Parsons<br>> > Cc: <a href="mailto:tao-users@cse.wustl.edu">tao-users@cse.wustl.edu</a><br>> > Subject: Re: [tao-users] Making use of TAO IDL compiler<br>> ><br>> > Hi Folks,<br>> >
<br>> > There is a paper we wrote about the patterns used in the TAO<br>> > IDL compiler to support multiple backend pluggins. The<br>> > patterns include Visitor, Abstract Factory, and Strategy. I<br>> > think the paper is available at
<br>> ><br>> > <a href="http://www.cs.wustl.edu/%7Eschmidt/PDF/ami2.pdf" target="_blank">www.cs.wustl.edu/~schmidt/PDF/ami2.pdf</a><br>> ><br>> > If this isn't the right paper I will find the right one when
<br>> > I am done with holiday travels today!<br>> ><br>> > Thanks,<br>> ><br>> > Doug<br>> > Sent from my BlackBerry(r) wireless device<br>> ><br>> > -----Original Message-----
<br>> > From: <a href="mailto:jtc@acorntoolworks.com">jtc@acorntoolworks.com</a> (J.T. Conklin)<br>> ><br>> > Date: Wed, 21 Nov 2007 08:02:50<br>> > To:"Jeff Parsons" <<a href="mailto:j.parsons@vanderbilt.edu">
j.parsons@vanderbilt.edu</a>><br>> > <a href="mailto:Cc:tao-users@cse.wustl.edu">Cc:tao-users@cse.wustl.edu</a><br>> > Subject: Re: [tao-users] Making use of TAO IDL compiler<br>> ><br>> ><br>> > "Jeff Parsons" <
<a href="mailto:j.parsons@vanderbilt.edu">j.parsons@vanderbilt.edu</a>> writes:<br>> > > Maybe I'm misunderstanding what you mean by 'pluggable<br>> > > back end support' for the TAO IDL compiler, but there
<br>> > > are already several backend generator libraries used<br>> > > with the same frontend parser library and driver executable.<br>> > > In the TAO distribution, please see<br>> > > TAO_ROOT/orbsvcs/IFR_Service where, in addition to the IFR
<br>> > > Service executable, there are files to build an IFR loader<br>> > > backend for the IDL compiler. In the CIAO distribution,<br>> > > there is a backend in CIAO_ROOT/tools/IDL3_to_IDL2 that
<br>> > > converts IDL containing component and home declarations<br>> > > into the equivalent 'implied IDL'. Other backends can<br>> > > be found in the CoSMIC toolsuite distribution that convert
<br>> > > IDL into PICML, our component system modeling language,<br>> > > and WSDL (Web Services Definition Language).<br>> ><br>> > Hi Jeff,<br>> ><br>> > While I was aware that the IDL compiler and IFR used the same front
<br>> > end with different back end libraries, I wasn't aware that there were<br>> > so many other back ends. Also I'm looking at the current sources, and<br>> > I'm not seeing the use of the tao_idl driver executable; it appears
<br>> > tao_ifr links the driver, front end, and back end libraries together.<br>> > And the TAO_IFR_Loader appears to be service config object (to be used<br>> > with TAO_Service, etc.), which is the dynamically loaded equivalent of
<br>> > the IFR_Service server. To the best I can tell, it doesn't act on IDL<br>> > (The IFR_Server library isn't linked with any of the TAO_IDL<br>> > libraries).<br>> ><br>> > However, the multiple back ends suggests that TAO's IDL compiler may
<br>> > be much farther along towards what I was meaning by "pluggins".<br>> ><br>> > It's my understanding that the OmniORB IDL compiler you can specify a<br>> > back end on the command line, and that back end will be used when
<br>> > compiling the IDL. The OmniORB back ends are written in python, which<br>> > makes things a bit easier. I vaguely recall reading docs for one of<br>> > the commercial ORBs (Orbix?) that had a similar capability where the
<br>> > plugins were writtin in something like tcl.<br>> ><br>> > For TAO, I was imagining the backend interface being a dynamically<br>> > loaded library loaded by the driver. A somewhat higher barrier to
<br>> > entry than python or tcl, but still very usable.<br>> ><br>> > --jtc<br>> ><br>> > --<br>> > J.T. Conklin<br>> ><br>> > _______________________________________________
<br>> > tao-users mailing list<br>> > <a href="mailto:tao-users@mail.cse.wustl.edu">tao-users@mail.cse.wustl.edu</a><br>> > <a href="http://mail.cse.wustl.edu/mailman/listinfo/tao-users" target="_blank">
http://mail.cse.wustl.edu/mailman/listinfo/tao-users</a><br>> ><br><br>_______________________________________________<br>tao-users mailing list<br><a href="mailto:tao-users@mail.cse.wustl.edu">tao-users@mail.cse.wustl.edu
</a><br><a href="http://mail.cse.wustl.edu/mailman/listinfo/tao-users" target="_blank">http://mail.cse.wustl.edu/mailman/listinfo/tao-users</a><br></div></div></blockquote></div><br><br clear="all"><br>-- <br>"There is no substitute for intelligence, experience, common sense, and good taste." - Bjarne Stroustrup
<br><br>- Vikram Karandikar