Parser and message emitter