Here's another of these list of links post: About JIT and Luajit.
This is hardcore stuff. I've read all the articles but honestly, I barely get what I'd have to do to write something with this on my own.
design of glue and lua&luajit tricks.
edit: Also, a brainfuck compiler using dynasm