<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://planet-soc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Planet SoC - </title>
 <link>http://planet-soc.com/organization/SWIG/planet</link>
 <description>Planet view per organization</description>
 <language>en</language>
<item>
 <title>VICTORY! </title>
 <link>http://planet-soc.com/node/3466</link>
 <description>&lt;p&gt;Well, some victory!&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
Example.h:&lt;br /&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;code&gt;&lt;/p&gt;

&lt;p&gt;/** This is a block describing enum&lt;br /&gt;
 */&lt;/p&gt;

&lt;p&gt;enum color { RED, BLUE, GREEN };&lt;/p&gt;

&lt;p&gt;/*! This is describing class foo&lt;br /&gt;
 */&lt;/p&gt;

&lt;p&gt;class Foo {&lt;br /&gt;
 public:&lt;br /&gt;
  Foo() { }&lt;br /&gt;
  enum speed { IMPULSE=10, WARP=20, LUDICROUS=30 };&lt;br /&gt;
  void enum_test(speed s);&lt;br /&gt;
};&lt;/p&gt;

&lt;p&gt;/*! This is describing enum test&lt;br /&gt;
 \param c the color c&lt;br /&gt;
 \param s the speed&lt;br /&gt;
 */&lt;/p&gt;

&lt;p&gt;void enum_test(color c, Foo::speed s);&lt;/p&gt;

&lt;p&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The TOP of foo.java&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br /&gt;
/* This was generated from emitProxyClassDefAndCPPCasts() */&lt;br /&gt;
/**&lt;br /&gt;
 * This is describing class foo&lt;br /&gt;
 *&lt;br /&gt;
 */&lt;/p&gt;

&lt;p&gt;public class Foo {&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;and finally- &lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/p&gt;

&lt;p&gt;public class example {&lt;br /&gt;
/* This was generated from moduleClassFunctionHandler() */&lt;br /&gt;
/**&lt;br /&gt;
 * This is describing enum test&lt;br /&gt;
 *&lt;br /&gt;
 * @param   s the speed&lt;br /&gt;
 * @param   c the color c&lt;br /&gt;
 */&lt;br /&gt;
  public static void enum_test(color c, Foo.speed s) {&lt;br /&gt;
    exampleJNI.enum_test(c.swigValue(), s.swigValue());&lt;br /&gt;
  }&lt;/p&gt;

&lt;p&gt;}&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;WOOHOO!!!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Lots more to work on, but getting it to go all the way through feels nice.&lt;br /&gt;
The extra text I generate right (what java.cxx function it came from) is just helping me make sure everything is related to/attaches in the right place. :)&lt;br /&gt;
whee!&lt;/p&gt;
</description>
 <comments>http://planet-soc.com/node/3466#comments</comments>
 <category domain="http://planet-soc.com/taxonomy/term/135">SWIG</category>
 <pubDate>Wed, 13 Aug 2008 02:11:02 +0200</pubDate>
 <dc:creator>cmfoil</dc:creator>
 <guid isPermaLink="false">3466 at http://planet-soc.com</guid>
</item>
<item>
 <title>Back AGain!</title>
 <link>http://planet-soc.com/node/3420</link>
 <description>&lt;p&gt;Wish I still wasn&amp;#8217;t so tired from being sick! But on the nice side, the Olympic opening ceremony was wonderful :) Couldn&amp;#8217;t help but watch it!&lt;br /&gt;
Trying to finish what I had started on my laptop on my trip has been a little hairy- mostly I&amp;#8217;ve been having to rewrite things to get them to actually work, but it&amp;#8217;s given me some good opportunities to reconsider how much work I want the language modules to have to do (Which is, of course, as little as possible- and preferably in a manner that leaves all the modules I am not going to mess with untouched!)&lt;br /&gt;
With any luck though, my build tomorrow should be putting my javaDoc into the java proxy files. I still haven&amp;#8217;t worked out my problem with implementing a %feature, but I decided It would probably be best to get it working end to end first- plus there is the option of simply adding in a new blob of doxygen with a structural command into the interface file itself. (Note to self: make sure to bring this up with Olly TOMORROW!)&lt;/p&gt;
</description>
 <comments>http://planet-soc.com/node/3420#comments</comments>
 <category domain="http://planet-soc.com/taxonomy/term/135">SWIG</category>
 <pubDate>Sat, 09 Aug 2008 08:34:55 +0200</pubDate>
 <dc:creator>cmfoil</dc:creator>
 <guid isPermaLink="false">3420 at http://planet-soc.com</guid>
</item>
<item>
 <title>First spam comment!</title>
 <link>http://planet-soc.com/node/3104</link>
 <description>&lt;p&gt;First spam comment! How exciting. :p It&amp;#8217;s on some post down below. Other than that, committing tomorrow  instead . Oof, I feel behind! William&amp;#8217;s post on the mailing list gave me a lot to chew on though, need to reply formally to both of my threads tomorrow ( _really_ tomorrow) as well. I also need to make sure to exist on the swig gsoc channel more- haven&amp;#8217;t been holding to that.&lt;br /&gt;
Other than that- still need to figure out best way to deal with straight C/C++ comments.&lt;/p&gt;
</description>
 <comments>http://planet-soc.com/node/3104#comments</comments>
 <category domain="http://planet-soc.com/taxonomy/term/135">SWIG</category>
 <pubDate>Thu, 24 Jul 2008 08:48:16 +0200</pubDate>
 <dc:creator>cmfoil</dc:creator>
 <guid isPermaLink="false">3104 at http://planet-soc.com</guid>
</item>
<item>
 <title>Update Jul 22</title>
 <link>http://planet-soc.com/node/3089</link>
 <description>&lt;p&gt;Thunderstorms all morning + keeping watch over a very neurotic dog during said storms did not bode well for our heroine. However, tomorrow should be the update of a build with some fixes/extensions to the translator module as well as what I talked about yesterday implemented in SWIG. As well as (hopefully) a good plan for a few of the language modules. Should give me some good talking material :)&lt;br /&gt;
also, memo to self- need to still discuss how to appropriately put in a new command line option, or what, in order to make my module run. Seems like disabling the functionality would be as easy as just turning off parsing the tokens or placing them into the tree.&lt;/p&gt;
</description>
 <comments>http://planet-soc.com/node/3089#comments</comments>
 <category domain="http://planet-soc.com/taxonomy/term/135">SWIG</category>
 <pubDate>Wed, 23 Jul 2008 09:10:22 +0200</pubDate>
 <dc:creator>cmfoil</dc:creator>
 <guid isPermaLink="false">3089 at http://planet-soc.com</guid>
</item>
<item>
 <title>Outline</title>
 <link>http://planet-soc.com/node/3053</link>
 <description>&lt;p&gt;Ahhhh, I feel too tired to clearly articulate myself right now. I think I&amp;#8217;m going to have to finish this tomorrow morning. I need to stop working/blogging so late- I&amp;#8217;m really much more in my element in the morning&amp;#8230; Like Cinderella&amp;#8217;s coach, my brain turns into a pumpkin past midnight- which makes my time commitment from 7-11pm M T TH a little inconvenient &amp;gt;&amp;lt;&lt;br /&gt;
Plan details&lt;br /&gt;
Stage 1:&lt;/p&gt;

&lt;p&gt;Picking up comments&lt;br /&gt;
in cscanner.c at case SWIG_TOKEN_COMMENT:&lt;br /&gt;
(around line 420 in my version)&lt;br /&gt;
3 types of tokens will be returned&lt;br /&gt;
-for standard doxygen blobs (aka /** or ///, //! etc) DOXYGENSTRING&lt;/p&gt;

&lt;p&gt;-for post comments suchas /**&amp;lt; ///&amp;lt; etc (which are associated with the last thing encountered, see “Putting comments after members” at &lt;a href=&quot;http://www.stack.nl/~dimitri/doxygen/docblocks.html&quot; title=&quot;http://www.stack.nl/~dimitri/doxygen/docblocks.html&quot;&gt;http://www.stack.nl/~dimitri/doxygen/docblocks.html&lt;/a&gt; for more info) DOXYGENPOSTCOMMENT&lt;/p&gt;

&lt;p&gt;-for normal C/C++ comments CSTYLECOMMENT &lt;/p&gt;

&lt;p&gt;Stage 2:&lt;br /&gt;
Attachment into the parse tree&lt;br /&gt;
in parser.y&lt;/p&gt;

&lt;p&gt;General Doxygen Comments:&lt;br /&gt;
there are a few difficulties here- one being that occasionally comments exist independent of the location of the object they describe- they contain structural indicators:&lt;/p&gt;

&lt;p&gt;\struct to document a C-struct.&lt;br /&gt;
\union to document a union.&lt;br /&gt;
\enum to document an enumeration type.&lt;br /&gt;
\fn to document a function.&lt;br /&gt;
\var to document a variable or typedef or enum value.&lt;br /&gt;
\def to document a #define.&lt;br /&gt;
\typedef to document a type definition.&lt;br /&gt;
\file to document a file.&lt;br /&gt;
\namespace to document a namespace.&lt;br /&gt;
\package to document a Java package.&lt;br /&gt;
\interface to document an IDL interface. &lt;/p&gt;

&lt;p&gt;The best possible way, in my opinion, to deal with these is to make them their own nodes. It seems like it is standard to put any structural commands as the first command in a blob- so :&lt;br /&gt;
 incoming doxygen strings are scanned until the first command is encountered, then the command is tested to see if it belongs to this small list. If it does belong, a new NODE is created with only an attribute named something like structuralDoxygenComment, containing the Doxygen Blob. (is making new node okay to do?)&lt;/p&gt;

&lt;p&gt;Otherwise it is handled per usual- currentDoxygenComment would be set to the comment, and when a new node is formed the Doxygen Comment is attached as an attribute.&lt;/p&gt;

&lt;p&gt;Post Comments would be added to the previous node by appending them to whatever existing (or not existing) doxygen comment entity may be an attribute in the node. The previous node would be kept track of by a global pointer.&lt;/p&gt;

&lt;p&gt;C/C++ Comments are tricky.. because there are two ways that are common to comment:&lt;br /&gt;
//Function foo&lt;br /&gt;
int foo();&lt;/p&gt;

&lt;p&gt;or int foo(); //the function foo&lt;br /&gt;
I&amp;#8217;m not sure how to distinguish between the two &amp;gt;.&amp;lt; It doesn&amp;#8217;t seem like it would be efficient to make every little C/C++ comment its own node, but I&amp;#8217;m also not sure how to get it to associate C/C++ comments with the proper object given the ambiguity of C/C++ comments.&lt;/p&gt;

&lt;p&gt;In general, by that point all &amp;#8220;Traditional&amp;#8221; and post-comments that are describing the same element should be in the same &amp;#8220;blob&amp;#8221; passed to my module- so they would be processed &amp;#8220;together&amp;#8221; by my blob-translating module.&lt;br /&gt;
My thoughts on SWIG directives are now too fuzzy to explain before I&amp;#8217;ve slept &amp;gt;&amp;lt; Reguardless, the end result should be that my separate module doesn&amp;#8217;t have to do anything more than translate what its given- and thus the language modules should only need to pass the blobs to translate where appropriate. The less I have to fiddle with the individual language modules, the better, I believe&lt;/p&gt;

&lt;p&gt;Rest of this will be tomorrow! Manyana Manyana Manyana.&lt;br /&gt;
Extra thanks to Olly for informing me all of my post titles were based around the wrong month :-) Oops&amp;#8230;&lt;/p&gt;
</description>
 <comments>http://planet-soc.com/node/3053#comments</comments>
 <category domain="http://planet-soc.com/taxonomy/term/135">SWIG</category>
 <pubDate>Tue, 22 Jul 2008 09:04:32 +0200</pubDate>
 <dc:creator>cmfoil</dc:creator>
 <guid isPermaLink="false">3053 at http://planet-soc.com</guid>
</item>
<item>
 <title>Arrival Haikou, Got Payment!</title>
 <link>http://planet-soc.com/node/3047</link>
 <description>&lt;p&gt;First, I have arrival Haikou tonight, and then have eaten some delicious. :)&lt;/p&gt;

&lt;p&gt;Secondly, the GSoC payment has sent to my store value card right now! Hopefully every GSoCers have got it. :)&lt;/p&gt;
</description>
 <comments>http://planet-soc.com/node/3047#comments</comments>
 <category domain="http://planet-soc.com/taxonomy/term/181">Planet SoC</category>
 <category domain="http://planet-soc.com/taxonomy/term/135">SWIG</category>
 <pubDate>Mon, 21 Jul 2008 20:22:00 +0200</pubDate>
 <dc:creator>bhy</dc:creator>
 <guid isPermaLink="false">3047 at http://planet-soc.com</guid>
</item>
<item>
 <title>Update July 20</title>
 <link>http://planet-soc.com/node/3034</link>
 <description>&lt;p&gt;Spent today doing a few tweaks then more SWIG code review and a lot of reading through some documentation. Instead of my previous &amp;#8220;beat SWIG with a stick until it does something&amp;#8221; attempts, I&amp;#8217;m going to lay out  a very technical plan tomorrow. Running it by Olly and hopefully some other SWIG mentors should be a good way to ensure that its actually feasible- and it&amp;#8217;s always good to make sure what I believe is the desired functionality&amp;#8230; is actually the desired functionality ;) Would be very nice to set out with a good design. I also need to look up a bit more on some things like using error numbers and such so I can develop for SWIG properly.&lt;br /&gt;
I also need to figure out what modules are going to want the option to have doxygen,  and how best to deal with that.&lt;/p&gt;
</description>
 <comments>http://planet-soc.com/node/3034#comments</comments>
 <category domain="http://planet-soc.com/taxonomy/term/135">SWIG</category>
 <pubDate>Mon, 21 Jul 2008 08:08:38 +0200</pubDate>
 <dc:creator>cmfoil</dc:creator>
 <guid isPermaLink="false">3034 at http://planet-soc.com</guid>
</item>
<item>
 <title>Back!</title>
 <link>http://planet-soc.com/node/3033</link>
 <description>&lt;p&gt;Well, finally I have came back to the earth!&lt;/p&gt;

&lt;p&gt;After a super busy month, many things get done - the exams, TOEFL, GSoC midterm evaluation, rent room in Singapore, &amp;#8230; Another good news is my GSoC project still on track! Though, well, I have a little trouble of implementing the Python buffer support - I havn&amp;#8217;t a clear plan about what I am going to do&amp;#8230;&lt;/p&gt;

&lt;p&gt;Tonight I will go to Haikou, and then contiune my summer in this hot beatiful city. :)&lt;/p&gt;
</description>
 <comments>http://planet-soc.com/node/3033#comments</comments>
 <category domain="http://planet-soc.com/taxonomy/term/181">Planet SoC</category>
 <category domain="http://planet-soc.com/taxonomy/term/135">SWIG</category>
 <pubDate>Mon, 21 Jul 2008 05:22:00 +0200</pubDate>
 <dc:creator>bhy</dc:creator>
 <guid isPermaLink="false">3033 at http://planet-soc.com</guid>
</item>
<item>
 <title>Update July 19</title>
 <link>http://planet-soc.com/node/3017</link>
 <description>&lt;p&gt;(output from the latest build of mine)&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
---ORIGINAL DOXYGEN---&lt;br /&gt;
//! A normal member taking two arguments and returning an integer value. This is a very long description for the simple purpose of showing off formatting. Let&#039;s make it a bit longer just to be sure.&lt;br /&gt;
/*!&lt;br /&gt;
 \param a an \b integer argument.&lt;br /&gt;
 \return The test results&lt;br /&gt;
 \param s a constant character pointer. Let&#039;s also make this a very long description!&lt;br /&gt;
 \bug this command should, for now, be totally ignored&lt;br /&gt;
 \author cheryl foil&lt;br /&gt;
 \sa Test(), ~Test(), testMeToo() and publicVar()&lt;br /&gt;
 */&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
---RESULT IN JAVADOC---&lt;br /&gt;
/**&lt;br /&gt;
 * A normal member taking two arguments and returning an integer value.&lt;br /&gt;
 * This is a very long description for the simple purpose of showing&lt;br /&gt;
 * off formatting. Let&#039;s make it a bit longer just to be sure.&lt;br /&gt;
 *&lt;br /&gt;
 * @author  cheryl foil&lt;br /&gt;
 * @param   s a constant character pointer. Let&#039;s also make this a very&lt;br /&gt;
 *                     long description!&lt;br /&gt;
 * @param   a an    &amp;lt;b&amp;gt;integer&amp;lt;/b&amp;gt; argument.&lt;br /&gt;
 * @return  The test results&lt;br /&gt;
 * @see     Test(), ~Test(), testMeToo() and publicVar()&lt;br /&gt;
 */&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
(long description is actually in line with &amp;#8220;s&amp;#8221;, not @param)&lt;br /&gt;
Hurray! There are quite a few other tags I would like to add in (mostly that pertain to HTML)- and autobrief is still not dealt with in the parser. However, the usual javaDoc-pertinent tags are functional! I feel it would be better for me to work through the SWIG section now- especially since some people seem to be a fan of having an option to just put in the unprocessed doxygen. :) I spent a good bit of today poking at SWIG to begin my brainstorming. I think tomorrow is going to be the start of a very intense week! It&amp;#8217;s good timing though, my entire family about to leave for a week long trip, so none of the usual obligations will be around!&lt;/p&gt;
</description>
 <comments>http://planet-soc.com/node/3017#comments</comments>
 <category domain="http://planet-soc.com/taxonomy/term/135">SWIG</category>
 <pubDate>Sun, 20 Jul 2008 08:50:23 +0200</pubDate>
 <dc:creator>cmfoil</dc:creator>
 <guid isPermaLink="false">3017 at http://planet-soc.com</guid>
</item>
<item>
 <title>Update July 18</title>
 <link>http://planet-soc.com/node/3006</link>
 <description>&lt;p&gt;(Holding to my promise to update no matter what!)&lt;br /&gt;
Didn&amp;#8217;t manage to get to much done today due to my boyfriend&amp;#8217;s birthday :) Had to leave the house much earlier than I expected! Just means I&amp;#8217;ll have to work a bit more tomorrow though.&lt;br /&gt;
Few things for me to remember:&lt;br /&gt;
-Olly brought up using Google code base to find Doxygen comments to use for examples&amp;#8230; must remember to do this!&lt;br /&gt;
-Wsfulton brought up attempting to grab any c/c++ comments and putting them without modification into the proxy file, should look in to the best way to catch them&lt;br /&gt;
-figure out a good way to catch comments placed after what they are defining (I&amp;#8217;m still going to call them &amp;#8220;Side comments&amp;#8221; for now since there&amp;#8217;s no official word. &amp;gt;.&amp;lt;&amp;#8221;) such as /**&amp;lt; enum value 2 */&lt;/p&gt;
</description>
 <comments>http://planet-soc.com/node/3006#comments</comments>
 <category domain="http://planet-soc.com/taxonomy/term/135">SWIG</category>
 <pubDate>Sat, 19 Jul 2008 07:51:33 +0200</pubDate>
 <dc:creator>cmfoil</dc:creator>
 <guid isPermaLink="false">3006 at http://planet-soc.com</guid>
</item>
</channel>
</rss>
