Re: X3 employee example with semantic actions
Seth <[email protected]> Fri, 8 Jun 2018 00:07:56 +0200
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
On 07-06-18 10:09, Larry Evans wrote: > 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 > I wonder how that was supposed to be clear from what you wrote. My questions were intended as a gentle prod to be more clear, and more careful about your postings, not to "ramble" an explanation off-list. For starters, you quote something the OP said, not Joel (The mailman link also doesn't show Joel saying anything). Then you fail to mention what was "said about develop". Lastly you completely fail to explain **why** it matters to use the develop branch. And how. Just something to be aware of about your own posts here. I thought this would interest you because you seem to know "The hard part is **how** to document clearly enough". Don't leave us guessing. (And you'll find yourself saying "oops" less). Peace, Seth ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Spirit-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spirit-general