Hi, Moritz-- On Fri, May 29, 2015 at 3:00 AM, Moritz Heidkamp <[email protected] > wrote:
> > I also saw that comparse provides a similar macro called > > 'recursive-parser', but for some reason that didn't work when I tried it. > > Maybe I was using it wrong. > > That's right -- it's slightly more efficient than your version as it > memoizes the wrapped parser so that it only needs to be constructed the > first time it is used. > > If you are on Comparse 0.2.2 you would define your parser just like > before, wrapped in `recursive-parser', i.e. the interface should be > identical to your `mrp'. The interface used to be different before > Comparse 0.2.2. That was the problem. It turned out I had 0.1.0 installed on this machine. I updated comparse, and all is well! Thank you. Matt
_______________________________________________ Chicken-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-users
