lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Jun 12, 2012 at 2:10 PM, Gavin Wraith <gavin@wra1th.plus.com> wrote:
> I would be interested to know how others use lpeg.
> One strategy is to try and get the bare pattern right
> first, without using captures

Being a bear of little brain, I find it helps to test the individual
patterns with their captures interactively.

Then one can compose these patterns with some confidence to build
complicated structures bottom-up.

steve d.