lua-users home
lua-l archive

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


Dirk Laurie <dirk.laurie@gmail.com> [14-03-11 19:24]:
> 2014-03-11 19:49 GMT+02:00  <meino.cramer@gmx.de>:
> > Dirk Laurie <dirk.laurie@gmail.com> [14-03-11 18:43]:
> >> 2014-03-11 19:25 GMT+02:00  <meino.cramer@gmx.de>:
> >>
> >> > And I will do it in pure Lua since this is the
> >> > reason why I do this in pure Lua! ;)
> >>
> >> Do programs that contain
> >>
> >>      lpeg = require"lpeg"
> >>
> >> count as pure Lua?
> >>
> 
> > with "pure Lua" I meant, that all code which runs
> > is Lua script.
> > It is a complete personal opinion of a neerd. It is
> > not reality related or somehow reasoned.
> > Its like the feeling of not wanting a swiss army
> > knife with a Nike logo on it. It does not harm the
> > knife...but...
> > I like C when I program in (pure) C. And I like Lua.
> > As much as I like C.
> > Currently I want pure Lua code ;)
> 
> Meino, I can't deduce from that the answer to my question.
> 
> Am I allowed to use LPeg (which is very commonly available and may
> well, according to Roberto [1], be included in the next Lua) or not?
> 
> [1] <http://www.lua.org/wshop12/Ierusalimschy.pdf>
> 

Dirk ... with less poetry: I dont know LPegs internals.
If LPeg includes compiled C-code: No
If LPeg is written in Lua itself: Yes.