Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 947579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:06:10+00:00 2026-05-15T23:06:10+00:00

I started using spirit yesterday. I have to write a parser for a small

  • 0

I started using spirit yesterday. I have to write a parser for a small language and to form an intermediate data structure. I followed the Pascal Parser example at Boost Repository. This example is good as it supports easy debugging. The example uses Classic Spirit.

  • Should I translate to use Qi (I have not faced any issues till now with respect to Spirit)?
  • Is there a simple example for such a conversion? I am mainly using classic::grammar class right now as in the example.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T23:06:11+00:00Added an answer on May 15, 2026 at 11:06 pm

    If you start a new project I definitely suggest to stick with Spirit.Qi. Spirit.Classic is in maintenance mode only while Spirit.Qi is being actively developed. In addition, the parsers generated by Qi are a lot faster than the older ones.

    The conversion from Spirit.Classic to Spirit.Qi is not straightforward as the API has changed. There is some getting started documentation on this, though. But if you start with a new project this shouldn’t matter too much as you have to get accustomed with a new library in any case.

    So I’d suggest you try to read the introductory documentation, look at the examples and tests which come with Spirit, and most importantly try to understand how Spirit handles the parser attributes. From my experience, parser attributes and their propagation rules are the most difficult concept to understand, while at the same time they are crucial to Spirit’s way of doing things, and they make Spirit as powerful and flexible as it is.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Started using Visual Studio 2012 RC since yesterday, We have one WCF solution. Whenever
I started using entity inheritance today with core data, does anyone have any experience
I started using Foundation 3 from Zurb yesterday but the documentation they have provided
I started using emacs and slime to develop some little service. I have found
I started using Core Data for iPhone development. I started out by creating a
I started using LINQ (Language Integrated Query) when it was still in beta, more
In the spirit of using existing, tested and stable libraries of code, I started
I started using ModX yesterday. Prepared my multilingual website using this tutorial: http://www.multilingual-modx.com/blog/2011/multilingual-websites-with-modx-and-babel.html .
I started using EF 4.1 code first. I have a entity table like this:
Just started using Blueprint CSS and now playing with the grids but have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.