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 &amp;&nbsp;
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 &lt;<a href="mailto:schmidt@dre.vanderbilt.edu">
schmidt@dre.vanderbilt.edu</a>&gt; 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>&gt; The linked paper is on the use of patterns to implement
<br>&gt; AMI in TAO. I skimmed the paper quickly - if there are<br>&gt; any references to the IDL compiler in it, they are not<br>&gt; very significant ;-).<br><br></div>Sorry, I was &quot;off-by-one&quot; - 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>&gt; Jeff<br>&gt;<br>&gt; &gt; -----Original Message-----<br>&gt; &gt; 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>&gt; &gt; Sent: Wednesday, November 21, 2007 10:14 AM<br>&gt; &gt; To: <a href="mailto:jtc@acorntoolworks.com">jtc@acorntoolworks.com
</a>; Jeff Parsons<br>&gt; &gt; Cc: <a href="mailto:tao-users@cse.wustl.edu">tao-users@cse.wustl.edu</a><br>&gt; &gt; Subject: Re: [tao-users] Making use of TAO IDL compiler<br>&gt; &gt;<br>&gt; &gt; Hi Folks,<br>&gt; &gt;
<br>&gt; &gt; There is a paper we wrote about the patterns used in the TAO<br>&gt; &gt; IDL compiler to support multiple backend pluggins. The<br>&gt; &gt; patterns include Visitor, Abstract Factory, and Strategy. I<br>&gt; &gt; think the paper is available at
<br>&gt; &gt;<br>&gt; &gt; <a href="http://www.cs.wustl.edu/%7Eschmidt/PDF/ami2.pdf" target="_blank">www.cs.wustl.edu/~schmidt/PDF/ami2.pdf</a><br>&gt; &gt;<br>&gt; &gt; If this isn&#39;t the right paper I will find the right one when
<br>&gt; &gt; I am done with holiday travels today!<br>&gt; &gt;<br>&gt; &gt; Thanks,<br>&gt; &gt;<br>&gt; &gt; Doug<br>&gt; &gt; Sent from my BlackBerry(r) wireless device<br>&gt; &gt;<br>&gt; &gt; -----Original Message-----
<br>&gt; &gt; From: <a href="mailto:jtc@acorntoolworks.com">jtc@acorntoolworks.com</a> (J.T. Conklin)<br>&gt; &gt;<br>&gt; &gt; Date: Wed, 21 Nov 2007 08:02:50<br>&gt; &gt; To:&quot;Jeff Parsons&quot; &lt;<a href="mailto:j.parsons@vanderbilt.edu">
j.parsons@vanderbilt.edu</a>&gt;<br>&gt; &gt; <a href="mailto:Cc:tao-users@cse.wustl.edu">Cc:tao-users@cse.wustl.edu</a><br>&gt; &gt; Subject: Re: [tao-users] Making use of TAO IDL compiler<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &quot;Jeff Parsons&quot; &lt;
<a href="mailto:j.parsons@vanderbilt.edu">j.parsons@vanderbilt.edu</a>&gt; writes:<br>&gt; &gt; &gt; Maybe I&#39;m misunderstanding what you mean by &#39;pluggable<br>&gt; &gt; &gt; back end support&#39; for the TAO IDL compiler, but there
<br>&gt; &gt; &gt; are already several backend generator libraries used<br>&gt; &gt; &gt; with the same frontend parser library and driver executable.<br>&gt; &gt; &gt; In the TAO distribution, please see<br>&gt; &gt; &gt; TAO_ROOT/orbsvcs/IFR_Service where, in addition to the IFR
<br>&gt; &gt; &gt; Service executable, there are files to build an IFR loader<br>&gt; &gt; &gt; backend for the IDL compiler. In the CIAO distribution,<br>&gt; &gt; &gt; there is a backend in CIAO_ROOT/tools/IDL3_to_IDL2 that
<br>&gt; &gt; &gt; converts IDL containing component and home declarations<br>&gt; &gt; &gt; into the equivalent &#39;implied IDL&#39;. Other backends can<br>&gt; &gt; &gt; be found in the CoSMIC toolsuite distribution that convert
<br>&gt; &gt; &gt; IDL into PICML, our component system modeling language,<br>&gt; &gt; &gt; and WSDL (Web Services Definition Language).<br>&gt; &gt;<br>&gt; &gt; Hi Jeff,<br>&gt; &gt;<br>&gt; &gt; While I was aware that the IDL compiler and IFR used the same front
<br>&gt; &gt; end with different back end libraries, I wasn&#39;t aware that there were<br>&gt; &gt; so many other back ends. Also I&#39;m looking at the current sources, and<br>&gt; &gt; I&#39;m not seeing the use of the tao_idl driver executable; it appears
<br>&gt; &gt; tao_ifr links the driver, front end, and back end libraries together.<br>&gt; &gt; And the TAO_IFR_Loader appears to be service config object (to be used<br>&gt; &gt; with TAO_Service, etc.), which is the dynamically loaded equivalent of
<br>&gt; &gt; the IFR_Service server. &nbsp;To the best I can tell, it doesn&#39;t act on IDL<br>&gt; &gt; (The IFR_Server library isn&#39;t linked with any of the TAO_IDL<br>&gt; &gt; libraries).<br>&gt; &gt;<br>&gt; &gt; However, the multiple back ends suggests that TAO&#39;s IDL compiler may
<br>&gt; &gt; be much farther along towards what I was meaning by &quot;pluggins&quot;.<br>&gt; &gt;<br>&gt; &gt; It&#39;s my understanding that the OmniORB IDL compiler you can specify a<br>&gt; &gt; back end on the command line, and that back end will be used when
<br>&gt; &gt; compiling the IDL. &nbsp;The OmniORB back ends are written in python, which<br>&gt; &gt; makes things a bit easier. &nbsp;I vaguely recall reading docs for one of<br>&gt; &gt; the commercial ORBs (Orbix?) that had a similar capability where the
<br>&gt; &gt; plugins were writtin in something like tcl.<br>&gt; &gt;<br>&gt; &gt; For TAO, I was imagining the backend interface being a dynamically<br>&gt; &gt; loaded library loaded by the driver. &nbsp;A somewhat higher barrier to
<br>&gt; &gt; entry than python or tcl, but still very usable.<br>&gt; &gt;<br>&gt; &gt; &nbsp; &nbsp; --jtc<br>&gt; &gt;<br>&gt; &gt; --<br>&gt; &gt; J.T. Conklin<br>&gt; &gt;<br>&gt; &gt; _______________________________________________
<br>&gt; &gt; tao-users mailing list<br>&gt; &gt; <a href="mailto:tao-users@mail.cse.wustl.edu">tao-users@mail.cse.wustl.edu</a><br>&gt; &gt; <a href="http://mail.cse.wustl.edu/mailman/listinfo/tao-users" target="_blank">
http://mail.cse.wustl.edu/mailman/listinfo/tao-users</a><br>&gt; &gt;<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>&quot;There is no substitute for intelligence, experience, common sense, and good taste.&quot; - Bjarne Stroustrup
<br><br>- Vikram Karandikar