lua-users home
lua-l archive

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


> Example :
> 
> > [ 1 2 3     -- ERROR ! MISSING ] AT LINE 20
> 
> > ( 1 2 3     -- ERROR ! MISSING ) AT LINE 35
> 
> > { 1 2 3     -- ERROR ! MISSING } AT LINE 12
> 
> >  1 2 3 ]    -- ERROR ! EXTRA   ] AT LINE 42
> 
> > [ ( 1 2 3 ] -- ERROR ! MISSING ) AT LINE 71

You may want to check out LPegLabel, a fork of LPeg with additional
error-handling features:

https://github.com/sqmedeiros/lpeglabel/