lua-users home
lua-l archive

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

On Aug 29, 2018, at 1:21 PM, joy mondal <> wrote:

I have trying to understand LPEG to help me build a full programming language, I really like moonscript and want to build something similar, I have a very basic question involving LPEG.

Regarding the gist question of what it meant that LPeg does no backtracking,
this thread might help:

The thread discuss how to turn Lua pattern "(.*)and(.*)", with backtracking
ability, into LPeg, which does not.

First post also had a link of Nick Gammon's LPeg tutorial.