I've whipped together a lexer for haxe (http://haxe.org/).
I'm sure there may be some haxe constructs which aren't handled by the lexer, and I'm sure there might be some bugs. The lexer is working for a large majority of the language though.
You can see the lexer in action here: http://www.evaryu.com/hg/hxalgo/rev/381004a0c856
A good sample would be - Debug.hx: http://www.evaryu.com/hg/hxalgo/file/381004a0c856/src/util/Debug.hx - OrderedMap.hx: http://www.evaryu.com/hg/hxalgo/file/381004a0c856/src/util/OrderedMap.hx - Throwable.hx: http://www.evaryu.com/hg/hxalgo/file/381004a0c856/src/util/Throwable.hx
Reported by yarias