primitive MML parser