<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel">
    <title>gmane.comp.parsers.spirit.devel</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3487"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3486"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3485"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3484"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3483"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3482"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3481"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3480"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3479"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3478"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3477"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3476"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3475"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3474"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3473"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3472"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3471"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3470"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3468"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3467"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3487">
    <title>Re: [spirit2] namespaces</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3487</link>
    <description>  ( snip ) 

  I also agree.  This looks like a really clean way of doing things. 
 - Andy


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Andy Elvey</dc:creator>
    <dc:date>2008-12-03T08:37:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3486">
    <title>Re: [spirit2] namespaces</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3486</link>
    <description>Yea, VS by default is slow, but that is mostly due to how it handles
completion and such.  Visual Assist kills that and uses its own,
absolute worlds better, a bit of cacheing time upon install and global
header changes, all perfect.  :)

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>OvermindDL1</dc:creator>
    <dc:date>2008-12-03T04:29:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3485">
    <title>Re: [spirit2] namespaces</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3485</link>
    <description>
On Dec 2, 2008, at 8:23 PM, Joel de Guzman wrote:


&lt;NOT_BASHING&gt;
I don't use any of the above and my 'free' tools don't
auto choose a namespace.  [At least I don't think they do:)]
I don't use windows* for that matter.  I could but I don't.
&lt;\NOt_BASHING&gt;


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Carl Barron</dc:creator>
    <dc:date>2008-12-03T02:14:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3484">
    <title>Re: [spirit2] namespaces</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3484</link>
    <description>
I use Visual Studio's compiler, but not the text editor.
For me, it's too slow. It's response is sluggish (to say
the least). Me, I prefer a bare-bones text editor like
SciTE. You know... preferences... ;-)

Eclipse? I find it rather sluggish too. Perhaps due to Java?
Yet it seems to be in the same league as VS in terms of
slugishness. Hey, I'm not bashing here. It's just my observation.
I do find the MS compiler to be one of the best, if not the best.
Herb did good!

Regards,
</description>
    <dc:creator>Joel de Guzman</dc:creator>
    <dc:date>2008-12-03T01:23:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3483">
    <title>Re: [spirit2] namespaces</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3483</link>
    <description>On Tue, Dec 2, 2008 at 7:05 AM, Joel de Guzman
&lt;joel&lt; at &gt;boost-consulting.com&gt; wrote:

If you all see a need for it then go for it. :P
Eclipse (or insert whatever is your preferred dev environment) really
needs something like Visual Assist; for C++ programming the difference
is night and day...

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>OvermindDL1</dc:creator>
    <dc:date>2008-12-02T20:29:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3482">
    <title>Re: [spirit2] namespaces</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3482</link>
    <description>
Is it at least fair to say that for us poor souls without such a
utility, such an approach I outlined is good :-)

Regards,
</description>
    <dc:creator>Joel de Guzman</dc:creator>
    <dc:date>2008-12-02T14:05:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3481">
    <title>Re: [spirit2] namespaces</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3481</link>
    <description>It actually matters not to me.  I program in Visual Studio 2k5 with
the Visual Assist addon (absolutely addicted to it), regardless of
what platform I compile on, and it lets me know where things are
located so I never need to go looking (I am still looking for
something for Eclipse that does even half of what Visual Assist
does... nothing was even close last I checked a year ago...).  If you
have a good enough IDE (like with Visual Assist), then it makes up for
API oddities quite well without ever noticing.  :)

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>OvermindDL1</dc:creator>
    <dc:date>2008-12-02T07:01:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3480">
    <title>Re: [spirit 2] create and fusionize struct</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3480</link>
    <description>
Thank You! :-)

</description>
    <dc:creator>Joel de Guzman</dc:creator>
    <dc:date>2008-12-02T05:36:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3479">
    <title>Re: [spirit 2] create and fusionize struct</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3479</link>
    <description>
On Dec 1, 2008, at 9:17 PM, Joel de Guzman wrote:


attached is a mdified  section describing BOOST_FUSION_STRUCT I used a  
text editor
but the tags seem self explanatory so its is in quick book format but  
is only a section.

[section:create_and_adapt_struct BOOST_FUSION_STRUCT]

[heading Description]
BOOST_FUSION_STRUCT is a macro that can be used to generate all the
necessary boilerplate to make an arbitrary struct and covert it  into a __random_access_sequence__.

[heading Synopsis]
    BOOST_FUSION_STRUCT(
        struct_name
        (member_type0, member_name0)
        (member_type1, member_name1)
        ...
        )

[heading Semantics]

The above macro generates the struct  struct_name and necessary code to adapt `struct_name` as a model of __random_access_sequence__. The sequence of `(member_typeN, member_nameN)`
pairs declare the type and names of each of the struct members that will be
part of the sequence.

The macro should be used at global scope, and `struct_name` should be the fully
names</description>
    <dc:creator>Carl Barron</dc:creator>
    <dc:date>2008-12-02T04:40:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3478">
    <title>Re: [spirit2] namespaces</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3478</link>
    <description>
On Dec 1, 2008, at 9:10 PM, Joel de Guzman wrote:


great idea 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Carl Barron</dc:creator>
    <dc:date>2008-12-02T03:00:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3477">
    <title>Re: [spirit2] namespaces</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3477</link>
    <description>
I found myself many times in this situation.


This looks clean and helpful, from a usability perspective. My vote goes
for it.

   Matthias
</description>
    <dc:creator>Matthias Vallentin</dc:creator>
    <dc:date>2008-12-02T02:49:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3476">
    <title>Re: [spirit 2] create and fusionize struct</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3476</link>
    <description>

Cool! I think that's sufficient. But, hey, don't forget the docs,
ok. You can simply rip the adapt_struct docs, if you want.

Regards,
</description>
    <dc:creator>Joel de Guzman</dc:creator>
    <dc:date>2008-12-02T02:17:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3475">
    <title>Re: [spirit 2] create and fusionize struct</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3475</link>
    <description>
Hey, you should keep your copyright ;-)

Regards,
</description>
    <dc:creator>Joel de Guzman</dc:creator>
    <dc:date>2008-12-02T02:13:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3474">
    <title>[spirit2] namespaces</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3474</link>
    <description>Hi,

namespaces...

I find it a bit cumbersome to use lots of components in spirit2
placed in different namespaces. For example, in what namespace is
"rule" in? How about "unused"? "lit"? etc. Many times, it's not clear
where one component lives.

I do like the way we have ascii, iso8859_1 and soon unicode.
But others are rather, ehm, placed adhoc-y. For example, while
arg_names::_1 is ok, arg_names::_val and arg_names::_a are not!
Those are not arguments! I want to clean these up, so be prepared
for namespace name changes.

Also, I'm not quite happy with the situation where the user
needs to refer to the docs to know which namespace a particular
component lives in. So... I am really contemplating on hoisting
all public components used by a particular module, except the
character-set related components, in the namaspaces qi, karma,
or lex. For example:

namespace boost { namespace spirit { namespace qi
{
     using boost::spirit::int_;
}}}

That way, when using Qi, for example, you can use the boost::spirit:</description>
    <dc:creator>Joel de Guzman</dc:creator>
    <dc:date>2008-12-02T02:10:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3473">
    <title>Re: [spirit 2] create and fusionize struct</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3473</link>
    <description>
On Dec 1, 2008, at 7:02 PM, Joel de Guzman wrote:

Ok tthe  extra includes go away
ok   DEFINE_STRUCT -&gt; BOOST_FUSION_STRUCT
and your copywrite /license added.
       Probably since it was once cut from a testing main file:) its  
not needed

     Docs   same as BOOST_FUSION_ADAPT_STRUCT except it also creates  
the struct.

attached is modifed crteate_strict.h.   maiin.cpp - simple tests   
results.txt  my results of my runs.
tested with fusion:::for_each,fusion::at_c  any others fusion  
operations needed to test??

Last login: Mon Dec  1 19:22:57 on console
localhost:~ carlbarron$ cd xcode_worrk/test_create
-bash: cd: xcode_worrk/test_create: No such file or directory
localhost:~ carlbarron$ cd xcode_work/test_create
localhost:test_create carlbarron$ cd build/release
localhost:release carlbarron$ ls
test_createtest_create.dSYM
localhost:release carlbarron$ ./test_create
test of ex1
2
example 1
end of test of ex1

test of ex2
2
example 1

4
example 2
end of test of ex2
localhost:release carlbarron$ .</description>
    <dc:creator>Carl Barron</dc:creator>
    <dc:date>2008-12-02T01:53:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3472">
    <title>Re: [spirit 2] create and fusionize struct</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3472</link>
    <description>
Cool!

Some comments:
* Don't include &lt;boost/preprocessor.hpp&gt;. That is expensive.
Include only what's needed. Actually, simply including
adapt_struct.hpp is enough to give you what you need from PP.
* If you intend that to be part of fusion, then the name
should be BOOST_FUSION_STRUCT
* Why do you need to include &lt;boost/fusion/include/for_each.hpp&gt; ?


If you want them added to fusion, I'll need:
1) Some tests
2) Docs

I'll add a page for acknowledging contributions. Thanks!

Regards,
</description>
    <dc:creator>Joel de Guzman</dc:creator>
    <dc:date>2008-12-02T00:02:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3471">
    <title>[spirit 2] create and fusionize struct</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3471</link>
    <description>Atteached is a macro I use to create 'simple' structs and make fusion  
sequences of them


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/_______________________________________________
Spirit-devel mailing list
Spirit-devel&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spirit-devel
</description>
    <dc:creator>Carl Barron</dc:creator>
    <dc:date>2008-12-01T19:22:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3470">
    <title>howto feed inputs to examples? (was Re: Spirit2x inSpirit SVN</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3470</link>
    <description>
In:

https://spirit.svn.sourceforge.net/svnroot/spirit/trunk/Spirit2x/libs/spirit/example/qi/

there's subdirectories with, apparently, inputs files to some examples:

   mini_c
   mini_xml*

For example, mini_xml1.cpp contains:
-{--cut here--
int main(int argc, char **argv)
{
     char const* filename;
     if (argc &gt; 1)
     {
         filename = argv[1];
     }
     else
     {
         std::cerr &lt;&lt; "Error: No input file provided." &lt;&lt; std::endl;
         return 1;
     }

     std::ifstream in(filename, std::ios_base::in);

     if (!in)
     {
         std::cerr &lt;&lt; "Error: Could not open input file: "
             &lt;&lt; filename &lt;&lt; std::endl;
         return 1;
     }
-{--cut here--

However, the Jamfile doesn't show how to feed those input files
to the programs.  Is there some way, other than manually, to
do that?


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based application</description>
    <dc:creator>Larry Evans</dc:creator>
    <dc:date>2008-12-01T17:53:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3468">
    <title>Re: Rethinking the "what"</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3468</link>
    <description>

That's what I did with Spirit2x. It works ok, until I had to write
the expect parser where we have to supply a stream. Recall that
the expectation_failure exception requires the parser to know
"what" it is. There is no way in our interface to make that user
configurable, unless we change the expect API into something else,
which I do not want to do.


No, that's a different parse tree. This is a grammar parse tree.
In fact, the what function is emitting a flat version of it.
In terms of complexity, it should be the same.


Not sure I agree. It was never sufficient. Beyond some toy examples,
it will be difficult to coax the error result into something more useful
(*** but see below)


Sure, that was what I planned in 2x. Alas, it's not doable unless
we make expect a directive, like:

     p &gt;&gt; expect&lt;exception&gt;()[p2]

ala classic Spirit. I don't like that. IMO, the spirit2 expect syntax
is as ideal as it can be. Let's not mess with perfection ;-) I'd
like to tweak something else to cater to the expect synta</description>
    <dc:creator>Joel de Guzman</dc:creator>
    <dc:date>2008-11-23T01:49:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3467">
    <title>Re: Rethinking the "what"</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3467</link>
    <description>
A couple of (possibly unrelated) thought:

I'ld say, make it as simple as possible and let the user supply the unknowns (like the type of the stream to use in your example above). 

Letting what() to create a parse tree duplicates the parse tree the user might want to create in the first place. And it adds complexity even if the user doesn't need it. The scheme we have had in Spirit2 was not ideal, but sufficient. What's perhaps missing there is the possibility for the user to customize the behavior.

Creating expensive object instances during error handling is generally not an issue, at least that's the way I'm approaching error handling...

Don't add more complexity to the parsing, compilation times are already scary without this.

My 2€ cents.
Regards Hartmut




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is</description>
    <dc:creator>Hartmut Kaiser</dc:creator>
    <dc:date>2008-11-22T15:20:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3466">
    <title>Re: Rethinking the "what"</title>
    <link>http://permalink.gmane.org/gmane.comp.parsers.spirit.devel/3466</link>
    <description>

Exactly. Well, almost... Regarding pre-skipping, e will pre-skip
only if it is a terminal. Perhaps it's a good idea to always do
a pre-skip before throwing the exception. That way, the location
of the error is dead accurate.

Regards,
</description>
    <dc:creator>Joel de Guzman</dc:creator>
    <dc:date>2008-11-22T12:40:03</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.parsers.spirit.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.parsers.spirit.devel</link>
  </textinput>
</rdf:RDF>
