Grammar for MIDI and .kipr files, inspired by Andreas Pehnack's work.