Nov 17

Nabialek trick

By Joel de Guzman Qi Example Comments Off on Nabialek trick

This sample is a port of the original “Nabialek trick” from classic Spirit.

See full article here.

Tagged with:
Nov 15

Parsing a List of Key-Value Pairs Using Spirit.Qi

By Hartmut Kaiser Qi Example Comments Off on Parsing a List of Key-Value Pairs Using Spirit.Qi

One of the goals of this blog is to provide shrink wrapped solutions for small everyday parsing and output generation problems. We hope to show how Spirit may be used to simplify the life for you as a C++ programmer related to data conversion problems from some external representation to your internal data structures and vice versa.

See full article here.

Nov 14

Using Spirit V2.1 With Older Versions of Boost (pre V1.41)

By Hartmut Kaiser Spirit2 Release Comments Off on Using Spirit V2.1 With Older Versions of Boost (pre V1.41)

Would you like to try the new version of Spirit but you are stuck with an older version of Boost? If yes, don’t despair, there might be help!

See full article here.

Nov 06

Spirit V2.1 will be released with Boost V1.41

By Hartmut Kaiser Spirit2 Release Comments Off on Spirit V2.1 will be released with Boost V1.41

Now, as the release of the new Spirit version is at our doorstep, I would like to whet your appetite. Let’s start with a list of high level things worth knowing.

See full article here.

Nov 01

Boost 1.41 release is coming vey soon, along with it, the much awaited Spirit version 2.1. It’s about time we have a major website makeover. Check out the new site for Spirit 2.1 (in beta).

  • Finally settled on WordPress. It does the job wonderfully, with minimum fuss, and it has great support.
  • The new docs are uploaded. The search box should be available once Google starts to index the new site (I already submitted a sitemap) for the Google Custom Search.
Sep 25

After a long time in beta (more than 2 years with Spirit 2.0), Spirit 2.1 will finally be released with the upcoming Boost 1.41 release. The code is very stable now and is ready for production code. We are working hard on finishing the documentation in time for Boost 1.41. You can peek at the current state of the documentation here. Currently, you can find the code and documentation in the Boost SVN trunk. If you have a new project involving Spirit, we highly recommend starting with Spirit 2.1 now. Allow me to quote OvermindDL’s post from the Spirit mailing list:

I may start to sound like a bot with how often I say this, but Spirit.Classic is ancient, you should switch to Spirit2.1, it can do everything you did above a GREAT deal easier, a lot less code, and it executes faster. For example, Spirit2.1 can build your entire AST inline, no weird overriding, no need to build things up afterwards, etc…, all as one nice and fast step. You really need to update. See the other posts from the past day for links to docs and such for Spirit2.1. Spirit2.1 is currently in Boost Trunk, but will be formally released with Boost 1.41, but is otherwise complete.

preload preload preload