Re: X3 employee example with semantic actions

Larry Evans <[email protected]> Thu, 7 Jun 2018 03:16:19 -0500
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
On 06/07/2018 01:34 AM, Seth wrote:
 > On 05-06-18 20:54, Larry Evans wrote:
 >> But then I thought about what Joel said about develop; so, I
 >> added that to the -I flags to the compiler
 >
 > What did he say?
He said:

   So I can just std::copy a portion (described by a rule) of
   the file representation in memory, rather than having
   Spirit to interpret it. That will be higher performance
   does it?

here:

   https://sourceforge.net/p/spirit/mailman/message/36332995/

and I interpreted:

   rather than having Spirit to interpret it

to mean he didn't want Spirit to interpret, for example, the
chars:

   "66"

into the

   int employee::age;

member.

 > What did you add?

The -I flag to the develop branch mentioned by Joel.
Specifically, the 1st -I in the following:

 
-I/home/evansl/prog_dev/boost/releases/ro/boost_1_67_0/sandbox/lje/spirit-experiments/include
   -I/home/evansl/prog_dev/boost/releases/ro/boost_1_67_0

where the directory:

 
/home/evansl/prog_dev/boost/releases/ro/boost_1_67_0/sandbox/lje/spirit-experiments/include

has checked out the develop branch which Joel mentioned:

   https://github.com/boostorg/spirit/tree/develop/include



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot