Sorry I didn't think of this sooner. Why not make the grammar allow a sequence of quoted strings for annotations? So, one could write ann "deadCode true" "sequenceUnit true" "warnMatch true" "warnUnused true, forceUsed" in That seems easier to read and write than the backslashes.