On Fri, Jan 03, 2014 at 11:50:43AM -0500, Ted Zlatanov wrote: > > I wanted to let you know that I implemented a math eval function for > CFEngine (http://cfengine.com) using a different tool, namely the > PEG/LEG parser from http://piumarta.com/software/peg/ > > The work is here https://github.com/cfengine/core/pull/882 if anyone is > interested; it contains the entire PEG/LEG parser generator > distribution and the actual integration code is pretty tiny. > > [ ... ] >
Hi Ted, Thanks for the follow up - I'm glad that you found an acceptable solution, and am sorry that because of the license libmatheval was not usable here. Thanks also for bringing PEG to the attention - I haven't encountered it before, and it seems like rather interesting tool (in particular, the expressions grammar indeed looks very clean). Regards, Alex
