{"name":"Csound Score","scopeName":"source.csound-score","patterns":[{"include":"source.csound#preprocessorDirectives"},{"include":"source.csound#commentsAndMacroUses"},{"name":"keyword.control.csound-score","match":"[aBbCdefiqstvxy]"},{"name":"invalid.illegal.csound-score","match":"w"},{"name":"constant.numeric.language.csound-score","match":"z"},{"name":"meta.p-symbol.csound-score","match":"([nNpP][pP])(\\d+)","captures":{"1":{"name":"keyword.control.csound-score"},"2":{"name":"constant.numeric.integer.decimal.csound-score"}}},{"begin":"(m)|(n)","end":"$","patterns":[{"include":"source.csound#comments"},{"name":"entity.name.label.csound-score","match":"[A-Z_a-z]\\w*"}],"beginCaptures":{"1":{"name":"keyword.mark.preprocessor.csound-score"},"2":{"name":"keyword.repeat-mark.preprocessor.csound-score"}}},{"begin":"r\\b","end":"$","patterns":[{"include":"source.csound#comments"},{"begin":"\\d+","end":"$","patterns":[{"include":"source.csound#comments"},{"include":"source.csound#macroNames"}],"beginCaptures":{"0":{"name":"constant.numeric.integer.decimal.csound-score"}}}],"beginCaptures":{"0":{"name":"keyword.repeat-section.preprocessor.csound-score"}}},{"include":"source.csound#numbers"},{"name":"keyword.operator.csound-score","match":"[!+\\-*/^%\u0026|\u003c\u003e#~.]"},{"name":"string.quoted.csound-score","begin":"\"","end":"\"","patterns":[{"include":"source.csound#macroUses"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.csound-score"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.csound-score"}}},{"name":"meta.braced-loop.csound-score","begin":"\\{","end":"\\}","patterns":[{"name":"meta.braced-loop-details.csound-score","begin":"\\G","end":"$","patterns":[{"begin":"\\d+","end":"$","patterns":[{"begin":"[A-Z_a-z]\\w*\\b","end":"$","patterns":[{"include":"#comments"},{"name":"invalid.illegal.csound-score","match":"\\S+"}],"beginCaptures":{"0":{"name":"entity.name.function.preprocessor.csound-score"}}},{"include":"#comments"},{"name":"invalid.illegal.csound-score","match":"\\S+"}],"beginCaptures":{"0":{"name":"constant.numeric.integer.decimal.csound-score"}}},{"include":"#comments"},{"name":"invalid.illegal.csound-score","match":"\\S+"}]},{"begin":"^","end":"(?=\\})","patterns":[{"include":"$self"}]}],"beginCaptures":{"0":{"name":"punctuation.braced-loop.begin.csound-score"}},"endCaptures":{"0":{"name":"punctuation.braced-loop.end.csound-score"}}}]}