[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lpeg practices
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 12 Jun 2012 14:25:54 +0200
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.