boost-spirit
how to parse and verify an ordered list of integers using qi
I\'m parsing a text file, possibly several GB in size, consisting of lines as follows: 11 0.1 14 0.78 532 -3.5[详细]
2023-03-14 17:19 分类:问答boost::spirit - parsing AST style from randomly placed entries
I have this data in my file: #TITLE:Destiny; #SUBTITLE:; #ARTIST:Smiley; #BACKGROUND:bg.png; #SAMPLESTART:43.960;[详细]
2023-03-13 17:18 分类:问答How to associate Boost Spirit parsed entities with their location in input stream?
Boost Spirit library permits to Track the Input Position While Pa开发者_运维问答rsing. This mechanism allows informing about location of a parser error during parsing.[详细]
2023-03-12 06:41 分类:问答Using Boost.Spirit.Qi with custom lexer
I dug through the whole documentation and couldn\'t find an example. All the examples either parse character data or use Spirit.Lex. Forgive me if I missed something.[详细]
2023-03-10 04:10 分类:问答c++ functional programming ( boost::phoenix && boost::spirit) testing for null-ptrs in pointer placeholders
So, I have the following spirit karma rule body: base_rule = eps(_r1 != 0) [ // _r1 is a pointer_typed placeholder[详细]
2023-03-09 16:16 分类:问答Parsing a SQL INSERT with Boost Spirit Classic
I\'m trying to learn Boost Spirit and as an exercise, I\'ve tried to parse a SQL INSERT statement using Boost Spirit Classic.[详细]
2023-03-07 23:31 分类:问答boost spirit: What type names should be used for the built in terminals?
I am refactoring a typing system (type model) I have in place that uses spirit for string-serialization. I am using the compile-time modeling construct of type-traits.[详细]
2023-03-06 03:12 分类:问答Segmentation fault with trivial Spirit Parser grammar
I\'m running into frequent segfaults with my Spirit Qi parser. After spending days to debug the issue (I found the stacktraces impossible to grok) I decided to trim it down to a minimal example. Can[详细]
2023-03-06 01:27 分类:问答Boost.Spirit: Lex + Qi error reporting
I am writing a parser for quite complicated config files that make use of indentation etc. I decided to use Lex to break input into tokens as it seems to make life easier. The problem is that I cannot[详细]
2023-03-04 08:00 分类:问答compiling error about the example of The Keyword parser options.cpp
I was compiling the newest keyword example options.cpp with the newest Spirit got by svn. But I got the following error:[详细]
2023-03-03 20:44 分类:问答