<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=802492806-22112007><FONT face="Courier New" 
size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=802492806-22112007><FONT face="Courier New" 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=802492806-22112007><FONT face="Courier New" 
size=2>Not sure what you're asking about commented IDL, but it 
has</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=802492806-22112007><FONT face="Courier New" 
size=2>always been ignored.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=802492806-22112007><FONT face="Courier New" 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=802492806-22112007><FONT face="Courier New" 
size=2>Jeff</FONT></SPAN></DIV><BR>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> Vikram Karandikar 
  [mailto:softking@gmail.com] <BR><B>Sent:</B> Wednesday, November 21, 2007 
  11:45 PM<BR><B>To:</B> Doug Schmidt<BR><B>Cc:</B> Jeff Parsons; 
  tao-users@cse.wustl.edu<BR><B>Subject:</B> Re: [tao-users] Making use of TAO 
  IDL compiler<BR></FONT><BR></DIV>
  <DIV></DIV>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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"><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 "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>&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'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:"Jeff Parsons" &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; "Jeff Parsons" &lt; <A 
    href="mailto:j.parsons@vanderbilt.edu">j.parsons@vanderbilt.edu</A>&gt; 
    writes:<BR>&gt; &gt; &gt; Maybe I'm misunderstanding what you mean by 
    'pluggable<BR>&gt; &gt; &gt; back end support' 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 
    'implied IDL'. 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't 
    aware that there were<BR>&gt; &gt; so many other back ends. Also I'm looking 
    at the current sources, and<BR>&gt; &gt; I'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't act on IDL<BR>&gt; &gt; (The IFR_Server library isn'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's IDL compiler may 
    <BR>&gt; &gt; be much farther along towards what I was meaning by 
    "pluggins".<BR>&gt; &gt;<BR>&gt; &gt; It'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>"There is no substitute for intelligence, experience, 
  common sense, and good taste." - Bjarne Stroustrup <BR><BR>- Vikram Karandikar 
</BLOCKQUOTE></BODY></HTML>