Re: X3 employee example with semantic actions

Larry Evans <[email protected]> Tue, 5 Jun 2018 06:43:22 -0500
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
On 06/03/2018 09:03 PM, Joel de Guzman wrote:
> On 04/06/2018 5:41 AM, Seth wrote:
>> On 03-06-18 23:34, Maarten Verhage wrote:
>>> Sure I'm willing to learn. But where can I find the compiler examples 
>>> you
>>> mentioned?
>>
>> look for `position_tagged` and `annotate_on_success` in e.g.
>> https://github.com/boostorg/spirit/blob/develop/example/x3/rexpr/rexpr_full/rexpr/rexpr_def.hpp 
>>
> 
> Also check out the new examples (in devel) and the updated docs!
> 
> Regards,
Thanks Joel,

I did a git pull and got the new:

example/x3/annotation.cpp

Then I rebuild b2 from the boost_1_67_0 download, but then when I tried
to build the spirit docs from the just pulled spirit doc directory, it
failed as shown in the attached.

Could you please suggest corrective changes to what I've tried?

-regards,
Larry

------------------------------------------------------------------------------
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
doc_build.log (text/x-log, 2.2 KB)
evansl@lje-OptiPlex-9020:~/prog_dev/boost/releases/ro/boost_1_67_0/sandbox/lje/spirit-experiments/doc$ b2
/home/evansl/prog_dev/boost/releases/ro/boost_1_67_0/tools/build/src/tools/types/man.jam:8: in load
ERROR: rule "Copyright" unknown in module "man".
/home/evansl/prog_dev/boost/releases/ro/boost_1_67_0/tools/build/src/kernel/modules.jam:295: in import
/home/evansl/prog_dev/boost/releases/ro/boost_1_67_0/tools/build/src/tools/types/register.jam:36: in load
/home/evansl/prog_dev/boost/releases/ro/boost_1_67_0/tools/build/src/kernel/modules.jam:295: in import
/home/evansl/prog_dev/boost/releases/ro/boost_1_67_0/tools/build/src/tools/stage.jam:18: in load
/home/evansl/prog_dev/boost/releases/ro/boost_1_67_0/tools/build/src/kernel/modules.jam:295: in import
/home/evansl/prog_dev/boost/releases/ro/boost_1_67_0/tools/build/src/tools/builtin.jam:27: in load
/home/evansl/prog_dev/boost/releases/ro/boost_1_67_0/tools/build/src/kernel/modules.jam:295: in import
/home/evansl/prog_dev/boost/releases/ro/boost_1_67_0/tools/build/src/build-system.jam:12: in load
/home/evansl/prog_dev/boost/releases/ro/boost_1_67_0/tools/build/src/kernel/modules.jam:295: in import
/home/evansl/prog_dev/boost/releases/ro/boost_1_67_0/tools/build/src/kernel/bootstrap.jam:139: in boost-build
/home/evansl/prog_dev/boost/releases/ro/boost_1_67_0/boost-build.jam:17: in module scope
evansl@lje-OptiPlex-9020:~/prog_dev/boost/releases/ro/boost_1_67_0/sandbox/lje/spirit-experiments/doc$ git branch -v
  BOOST_SPIRIT_INSTANTIATE 150d1d0 [ahead 23] Merge remote-tracking branch 'upstream/develop' into BOOST_SPIRIT_INSTANTIATE
  attr_xform_opt           191afef [ahead 4] commit b4 checkout develop
* develop                  b4c5ef7 CI: Added thread library to link deps list
  get_rhs                  75a921e Rename to avoid ambiguity errors when using some git commands.
  karma_indent_devel       4b22252 commit changes b4 switch to another branch.
  master                   1e2054a Add, and update, documentation build targets.
  optional_attribute       c3a83ce optional_attribute
  wb-get_rhs               2fc7160 Rename to avoid ambiguity errors when using some git commands.
evansl@lje-OptiPlex-9020:~/prog_dev/boost/releases/ro/boost_1_67_0/sandbox/lje/spirit-experiments/doc$