Re: x3 beginner semantic actions
Patrick Welche <[email protected]> Thu, 26 Apr 2018 22:39:56 +0100
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <20180426213956.GA23416@quantz> |
On Wed, Apr 25, 2018 at 11:20:48AM +1200, Henri Menke wrote: > > You shouldn't use semantic actions for this at all but I guess you know that. > > Use x3::symbols instead. > > Attached you can find how I'd do it with x3::symbols. I still need one semantic > action for adding the attribute to the value. Maybe one could even get rid of > that but I don't know how. I'm not a Spirit expert either. Thank you for a lovely symbols example! (Could be added to the roman numerals page...) Cheers, Patrick ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot