Spirit2x in Spirit SVN

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Spirit2x in Spirit SVN

Joel de Guzman-2
Hi,

To those interested, FYI, I have the Spirit2x code in the
Spirit SourceForge SVN at:

     https://spirit.svn.sourceforge.net/svnroot/spirit/trunk/Spirit2x

This is not the Boost SVN. Since this is a total rewrite, I do not
want to touch Spirit2 in the Boost SVN.

What do we have there? Well, more or less the same code that I
posted a few days ago but structured into modules and directories
like Spirit2.

For those who want to keep up with the development, are
interseted in contributing somehow in the future, or simply
want to see how a library like Spirit is being developed,
this is it. I'll try to provide tech information as it's
being developed. This log might be useful in the future to
document the design and evolution of the library. To those
who really, really want to keep abreast, the basic requirement
is knowledge of key Boost libraries, most importantly:

1) MPL
2) Fusion
3) Proto
4) Phoenix

Oh, did you know that Phoenix is now a full fledged Boost library?

Cheers!!!,
--
Joel de Guzman
http://www.boostpro.com
http://spirit.sf.net


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & 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&url=/
_______________________________________________
Spirit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/spirit-devel
Reply | Threaded
Open this post in threaded view
|

Re: Spirit2x in Spirit SVN

Francois Barel
Joel de Guzman wrote:

>
> To those interested, FYI, I have the Spirit2x code in the
> Spirit SourceForge SVN at:
>
>     https://spirit.svn.sourceforge.net/svnroot/spirit/trunk/Spirit2x
>
> This is not the Boost SVN. Since this is a total rewrite, I do not
> want to touch Spirit2 in the Boost SVN.
>
> What do we have there? Well, more or less the same code that I
> posted a few days ago but structured into modules and directories
> like Spirit2.
>
> For those who want to keep up with the development, are
> interseted in contributing somehow in the future, or simply
> want to see how a library like Spirit is being developed,
> this is it. I'll try to provide tech information as it's
> being developed. This log might be useful in the future to
> document the design and evolution of the library.
>

That's fantastic news to hear, both about the improvements on
compilation times, and about the simplifications for writing custom
parsers (and about Phoenix too, of course :)).
Thanks Joël and others, keep up the good work!

Cheers,
François

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & 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&url=/
_______________________________________________
Spirit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/spirit-devel
Reply | Threaded
Open this post in threaded view
|

Re: Spirit2x in Spirit SVN

Joel de Guzman-2
Francois Barel wrote:
>
> That's fantastic news to hear, both about the improvements on
> compilation times, and about the simplifications for writing custom
> parsers

The idea, really, is that I want to remove the distinction
between a custom parser and one that Spirit provides out of
the box. Everything is just a parser. That way, we'll have a
very simple core, and everything goes on top of that. That
is the spirit behind classic-spirit and should be the same
spirit behind Spirit2(x).

(and about Phoenix too, of course :)).
> Thanks Joël and others, keep up the good work!

Most welcome!

Regards,
--
Joel de Guzman
http://www.boostpro.com
http://spirit.sf.net


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & 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&url=/
_______________________________________________
Spirit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/spirit-devel
Reply | Threaded
Open this post in threaded view
|

Re: Spirit2x in Spirit SVN

Alp Mestan-4
Hi,

I was quite busy this WE, but I'll have more time during the week.

I'm gonna setup the Spirit SVN on my PC and start working on the new parsing algorithm ;-)

Have a nice day here.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & 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&url=/
_______________________________________________
Spirit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/spirit-devel
Reply | Threaded
Open this post in threaded view
|

howto feed inputs to examples? (was Re: Spirit2x in Spirit SVN

cppljevans
In reply to this post by Joel de Guzman-2
On 10/17/08 09:20, Joel de Guzman wrote:
> Hi,
>
> To those interested, FYI, I have the Spirit2x code in the
> Spirit SourceForge SVN at:
>
>      https://spirit.svn.sourceforge.net/svnroot/spirit/trunk/Spirit2x
>

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 > 1)
     {
         filename = argv[1];
     }
     else
     {
         std::cerr << "Error: No input file provided." << std::endl;
         return 1;
     }

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

     if (!in)
     {
         std::cerr << "Error: Could not open input file: "
             << filename << 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 applications with Moblin SDK & 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&url=/
_______________________________________________
Spirit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/spirit-devel