[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Inclusion of lpack in Lua? Suggestions for Lua's unpack()
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 19 Jan 2010 08:33:35 +0200
On Tue, Jan 19, 2010 at 8:25 AM, Majic <email@example.com> wrote:
> Yes, I guess I must concede that a true pack()/unpack() for binary
> streams would not be a necessity as you can just require() the module
> whenever you want, it would just be nice to have it in the core
> alongside bitlib for that greater flexibility...
But we already have lhf's lpack and Roberto's lstruct. (The lstruct in
Alien is a little older but extended to handle userdata as well.)
May be nice to have such a 'builtin' facility, but it does seem like a
job for an extension. Otherwise, how do we know when to stop?