Re: X3 employee example with semantic actions

Maarten Verhage <[email protected]> Sun, 3 Jun 2018 21:34:19 +0000
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <AM5P192MB0131D658A5D4695D67A72653BA600@AM5P192MB0131.EURP192.PROD.OUTLOOK.COM>
Hi Seth,

----- Original Message ----- 
From: "Seth" <[email protected]>
To: "Spirit General Mailing List" <[email protected]>
Sent: Sunday, June 03, 2018 23:00
Subject: [Spirit-general] X3 employee example with semantic actions


> 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.
>
Sure I'm willing to learn. But where can I find the compiler examples you 
mentioned?
You don't mean calc7 and upwards do you?

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