Event-based parser (1)