A toy parser for a specific grammar