13 Jan
2008
13 Jan
'08
7:51 p.m.
Thanks for the reminder. We have been thinking about creating an lpeg variant that operates on tokens and/or nodes instead of simple data strings, but that will take quite a bit of work.
That sure would be nice.
It would be possible to simplify the loop logic by storing 'v' in a local variable, so that t[] always lags behind one value:
OK, thanks (but actually I was quite proud to get my code working already on the second try, so I kept it that non-optimal way ;-) Arthur