lua-users home
lua-l archive

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


> 
> Hi everyone,
> 
> I'm happy to announce a new version of lua-repl!
> 
> For those of you who aren't aware of it, lua-repl is a library to make it
> easy to embed a REPL similar to the standalone interpreter in your Lua
> application.  It also comes with a suite of plugins for enhancing itself,
> as well as a "demo" console REPL that may be used as an alternative to the
> standalone REPL (named rep.lua).
> 
> Version 0.4 includes a few bug fixes, as well as a few enhancements;
> please consult the changelog for more information.
> 
> The source for lua-repl is located on GitHub:
> https://github.com/hoelzro/lua-repl.  The release tarball is here:
> https://github.com/hoelzro/lua-repl/archive/0.4.tar.gz
> 

I tried it standalone, but is there also a way to implement it into a coroutine scheduler? I'm using copas a lot for socket scheduling, could it be made to work inside such a setting?
Eg. non-blocking over tcp?

Maybe a small example?

Thijs