lua-users home
lua-l archive

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


On Fri, Apr 13, 2007 at 10:17:44AM -0400, Thomas Harning Jr. wrote:
> Just wondering, how feasible would it be for LPEG to be able to parse
> external strings (ex: mem-mapped file) or generic streams.
[snip]
> LPEG works pretty fast, and allows for plenty of quick optimization...
> the only potential issue is that large data sets must be loaded into
> Lua as it stands now.

Besides large data sets, applying lpeg to streaming data, possibly using
coroutines, would be allow implementing text-based network protocols
with LuaSocket.

Sam