lua-users home
lua-l archive

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


2012/12/7 Philipp Janda <siffiejoe@gmx.net>:
> Here is a possible solution using LPeg:

Hmm returns error:
/lpeg.lua
/usr/bin/lua: error loading module 'grammar' from file
'./grammar.lua':
        ./grammar.lua:46: too many C levels (limit is 200) in function
at line 36 near 'marker'
stack traceback:
        [C]: in ?
        [C]: in function 'require'
        ./lpeg.lua:3: in main chunk
        [C]: in function 'require'
        ./grammar.lua:1: in main chunk
        [C]: in function 'require'
        ./lpeg.lua:3: in main chunk
        [C]: in function 'require'
        ./grammar.lua:1: in main chunk
        [C]: in function 'require'
        ...
        [C]: in function 'require'
        ./lpeg.lua:3: in main chunk
        [C]: in function 'require'
        ./grammar.lua:1: in main chunk
        [C]: in function 'require'
        ./lpeg.lua:3: in main chunk
        [C]: in function 'require'
        ./grammar.lua:1: in main chunk
        [C]: in function 'require'
        ./lpeg.lua:3: in main chunk
        [C]: in ?


--
Vasiliy Tolstov,
Clodo.ru
e-mail: v.tolstov@selfip.ru
jabber: vase@selfip.ru