Is it possible as part of the semantic action/capture logic in LPEG to
attach filter functions? For example, could I match a number using the
LPEG patterns and then range check it with a Lua function? Or would I
need to do that work after the pattern match finishes?
I just read the LPEG paper and I don't recall seeing anything about
this sort of functionality.