lua-users home
lua-l archive

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


Have you seen repl.it?


http://repl.it/languages/Lua

On Mon, Jun 10, 2013 at 1:03 PM, David Favro <lua@meta-dynamic.com> wrote:
> On 06/10/2013 12:01 AM, jonsmirl@gmail.com wrote:
>>
>> I see now that the web server is in C (uhttpd) and only Luci is in Lua.
>> My current plan is to try shellinabox. It is a standalone C app and I
>> should be able to use it in an iframe.
>
>
> It should be fairly easy to extend uhttpd to provide a simple HTTP form into
> which you can type Lua, send it off, execute, and return any output for
> display in the browser (and also make use of various Lua APIs provided by
> OpenWRT to control your box) -- security considerations aside, obviously. It
> could be done almost no additional memory/storage requirements if you're
> already running Luci.  The same for any server that has a Lua "handler" or
> API option.
>
> A full-blown interpreter that remembers state from one request to the next
> might be a bit more work however.
>
> -- David
>
>



-- 
Jon Smirl
jonsmirl@gmail.com