lua-users home
lua-l archive

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


On Sat, Dec 01, 2012 at 02:54:08PM -0800, Paul K wrote:
> Hi Michael,
> 
> Looks very interesting. Any chance you can make it to work in a
> Lua-only setup? For example, if I don't need Pluto to save coroutine
> state and just need a single instance for local testing/debugging?
> 
> Paul.

It doesn't actually use pluto at all yet and the lfs dependancy can be
avoided by running it in testing mode all the time (this will be
slower though as it has to reread all the page/template files every time
you use them). lua-cjson can be ditched as well just by swapping it for
a pure Lua json lib.

That said, the libevent dependancy isn't easily dropped (read: large
amounts of code would need to be rewritten) and even then I can't
imagine being able to completely avoid libraries/C code since CGI isn't
going to let routing happen.

Hope that helps,
Mike