Re: [Haskell-cafe] ANNOUNCE: luachunk-0.1

2012-10-10 Thread Anupam Jain
On Mon, Oct 8, 2012 at 6:48 AM, Kristopher Micinski krismicin...@gmail.com wrote: Oh, this is nice, we have our undergrads implement a compiler to Lua bytecode as part of their term projects, and currently use a homebrew OCaml package. This seems to be pretty complete, however, and it would

Re: [Haskell-cafe] ANNOUNCE: luachunk-0.1

2012-10-10 Thread Kristopher Micinski
On Wed, Oct 10, 2012 at 6:48 AM, Anupam Jain ajn...@gmail.com wrote: I used the excellent A No-Frills Introduction to Lua 5.1 VM Instructions (http://scholar.google.com/scholar?cluster=14039839166840129336). Highly recommended to get a quick overview of the entire bytecode format. FYI this

Re: [Haskell-cafe] ANNOUNCE: luachunk-0.1

2012-10-07 Thread Kristopher Micinski
Oh, this is nice, we have our undergrads implement a compiler to Lua bytecode as part of their term projects, and currently use a homebrew OCaml package. This seems to be pretty complete, however, and it would be interesting for me to reimplement some stuff with this.. Unfortunately the Lua

[Haskell-cafe] ANNOUNCE: luachunk-0.1

2012-10-05 Thread Anupam Jain
Hi all, I just released luachunk-0.1 on Hackage (http://github.com/ajnsit/luachunk). Luachunk is a small library to read and write Lua 5.1 bytecode chunks. It is modeled after ChunkSpy.lua (http://luaforge.net/projects/chunkspy/) though the code is written from scratch. A pretty listing printer