lua-users home
lua-l archive

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

Scott Vokes <> writes:
>    Also, LPEG grammars are relatively composable. If you're stuck on
> something, try breaking it into smaller pieces and testing them in the
> Lua interpreter.

Yup.  I usually build lpeg grammars bottom-up, starting with little bits
and pieces, testing them and getting them working, and gradually
composing them to cover larger and larger chunks of the grammar until I
eventually hit the top... :]


Un-American, adj. Wicked, intolerable, heathenish.