[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Using lpeg on codepad?
- From: Randy Kramer <rhkramer@...>
- Date: Wed, 22 Dec 2010 12:06:18 -0400
Can lpeg be used on codepad? How? I get a bunch of error messages
(below) when I issue 'require "lpeg"', so I guess the lpeg module isn't
present in codepad. Is there a (simple) way to add it?
If not, is there something else more or less like codepad that I can use
to quickly run snippets of lua with lpad for learning purposes?
(I've done some googling for things like [codepad 'require "lpeg"'], but
so far have found nothing useful.)
require "lpeg"
line 1: module 'lpeg' not found:
no field package.preload['lpeg']
no file './lpeg.lua'
no file '/usr/local/share/lua/5.1/lpeg.lua'
no file '/usr/local/share/lua/5.1/lpeg/init.lua'
no file '/usr/local/lib/lua/5.1/lpeg.lua'
no file '/usr/local/lib/lua/5.1/lpeg/init.lua'
no file './lpeg.so'
no file '/usr/local/lib/lua/5.1/lpeg.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
t.lua:1: in main chunk
[C]: ?
Randy Kramer