Hi,
In case anybody is interested: I have recently released a Haskell
package containing lexer, parser, and pretty printer for the Web IDL
language. The lexer is based on the lexer.ll from esidl (all necessary
conversions and bindings are done automatically), and the parser was
written from scratch using BNF fragments found in parser.yy, with
Parsec.
Haskell package details are available here:
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/webidl-0.1
Special thanks to Shiki for help with some questions I had.