Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Talk:Spirit Parser Framework

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 15 years ago by Matěj Grabovský in topic Updating

The example shown here seem outdated, as I get deprecation warnings when compiling them (using recent versions of Boost.Spirit):

In file included from main.cpp:1:
/usr/include/boost/spirit.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/classic.hpp"
In file included from main.cpp:2:
/usr/include/boost/spirit/actor.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/classic_actor.hpp"

Just sayin', Although I'm puzzled myself about these warnings. 91.42.157.253 (talk) 03:32, 22 August 2010 (UTC)Reply

Updating

[edit]

Shouldn't the article be updated to indicate that there's now Spirit.Classic, Qi, Karma, and Lex? –Matěj Grabovský (talk) 18:24, 12 July 2011 (UTC)Reply

Example program segfaults

[edit]

The example code pasted verbatim into a .cpp file and compiled with g++-4.9 segfaults for me. Apparently qi::rule does not behave well when used with auto:

 http://stackoverflow.com/questions/22023779/assigning-parsers-to-auto-variables