Mon Jan 23 13:23:57 EST 2012
Last week I integrated Lua into an embedded C project to facilitate
testing. As part of this effort I used the Haskell library
Language.C to gather binary protocol definitions from a bunch of .h
files, dumping out Lua tables that can be used for parsing binary data
to Lua structures. This was such an immense step forward that I'm
thinking much of libprim could probably be written in this way.