[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Protocol Specification in Lua
- From: Sean Conner <sean@...>
- Date: Sat, 2 Oct 2010 06:07:10 -0400
It was thus said that the Great Petr Štetiar once stated:
> It's a shame, you couldn't use Lua directly. Otherwise is quite easy and
> comfortable to send just compiled Lua table along with checksum over the UDP.
> In the short something like <size><bytecode><crc> in the packet. Imagine, that
> the Lua tables can contain functions, so the possibilities of such protocol
> are endless.
Okay, now I'm curious---how does one *get* a compiled Lua table? I can
see how to get a Lua function (in fact, I'm doing that now, only between
separate Lua instances and not over a network connection) but a table?
-spc (who is very curious about this ... )