Had to (and needed to, anyway) use peg-1.0. And while this does less macro magic, and less magic with cl-eval-when, I couldn't get around using eval. I wish peg had a function that takes a list of rules and returns a predicate that matches a string or at point. (I tried to work around the lack of that by using parts of peg macros, but it's very complicated, and everything I tried had one problem or another.)
54 KiB
54 KiB