X3 employee example with semantic actions

Seth <[email protected]> Sun, 3 Jun 2018 23:00:22 +0200
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
On 03-06-18 14:31, Maarten Verhage wrote:
> The documentation page: "Annotations - Decorating the ASTs" makes use of the 
> "position_tagged" base class for an ast. It claims to provide the positions 
> into the input (with iterators) that corresponds to a given element in the 
> AST.
That works. The compiler examples show how to use this.

> Maybe this does what I want. But I don't feel a need for an on_success 
> function.

I don't think you need that (in Qi, you would have)   


------------------------------------------------------------------------------
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