A Haskell DSL for Parsing Binary Files(cprg-research.blogspot.com)
cprg-research.blogspot.com
A Haskell DSL for Parsing Binary Files
http://cprg-research.blogspot.com/2010/02/domain-specific-language-for-binary.html
3 comments
PADS is a related (and more ambitious) line of work from some folks at AT&T: http://www.padsproj.org/index.html
Also in that repo is the beginning of a Ruby compiler for Flash, as part of an implementation that was intended to compile Flash apps to native iPhone apps, before Adobe announced they were doing the same thing. Might be of use to someone.