Port of Matt Might's McLexer to CoffeeScript