A Kansas-City standard decoder written in Haxe