mode-csound_orchestra.js 74 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966
  1. define("ace/mode/csound_preprocessor_highlight_rules",["ace_require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(ace_require, exports, module) {
  2. "use strict";
  3. var oop = ace_require("../lib/oop");
  4. var TextHighlightRules = ace_require("./text_highlight_rules").TextHighlightRules;
  5. var CsoundPreprocessorHighlightRules = function(embeddedRulePrefix) {
  6. this.embeddedRulePrefix = embeddedRulePrefix === undefined ? "" : embeddedRulePrefix;
  7. this.semicolonComments = {
  8. token : "comment.line.semicolon.csound",
  9. regex : ";.*$"
  10. };
  11. this.comments = [
  12. {
  13. token : "punctuation.definition.comment.begin.csound",
  14. regex : "/\\*",
  15. push : [
  16. {
  17. token : "punctuation.definition.comment.end.csound",
  18. regex : "\\*/",
  19. next : "pop"
  20. }, {
  21. defaultToken: "comment.block.csound"
  22. }
  23. ]
  24. }, {
  25. token : "comment.line.double-slash.csound",
  26. regex : "//.*$"
  27. },
  28. this.semicolonComments
  29. ];
  30. this.macroUses = [
  31. {
  32. token : ["entity.name.function.preprocessor.csound", "punctuation.definition.macro-parameter-value-list.begin.csound"],
  33. regex : /(\$[A-Z_a-z]\w*\.?)(\()/,
  34. next : "macro parameter value list"
  35. }, {
  36. token : "entity.name.function.preprocessor.csound",
  37. regex : /\$[A-Z_a-z]\w*(?:\.|\b)/
  38. }
  39. ];
  40. this.numbers = [
  41. {
  42. token : "constant.numeric.float.csound",
  43. regex : /(?:\d+[Ee][+-]?\d+)|(?:\d+\.\d*|\d*\.\d+)(?:[Ee][+-]?\d+)?/
  44. }, {
  45. token : ["storage.type.number.csound", "constant.numeric.integer.hexadecimal.csound"],
  46. regex : /(0[Xx])([0-9A-Fa-f]+)/
  47. }, {
  48. token : "constant.numeric.integer.decimal.csound",
  49. regex : /\d+/
  50. }
  51. ];
  52. this.bracedStringContents = [
  53. {
  54. token : "constant.character.escape.csound",
  55. regex : /\\(?:[\\abnrt"]|[0-7]{1,3})/
  56. },
  57. {
  58. token : "constant.character.placeholder.csound",
  59. regex : /%[#0\- +]*\d*(?:\.\d+)?[diuoxXfFeEgGaAcs]/
  60. }, {
  61. token : "constant.character.escape.csound",
  62. regex : /%%/
  63. }
  64. ];
  65. this.quotedStringContents = [
  66. this.macroUses,
  67. this.bracedStringContents
  68. ];
  69. var start = [
  70. this.comments,
  71. {
  72. token : "keyword.preprocessor.csound",
  73. regex : /#(?:e(?:nd(?:if)?|lse)\b|##)|@@?[ \t]*\d+/
  74. }, {
  75. token : "keyword.preprocessor.csound",
  76. regex : /#include/,
  77. push : [
  78. this.comments,
  79. {
  80. token : "string.csound",
  81. regex : /([^ \t])(?:.*?\1)/,
  82. next : "pop"
  83. }
  84. ]
  85. }, {
  86. token : "keyword.preprocessor.csound",
  87. regex : /#includestr/,
  88. push : [
  89. this.comments,
  90. {
  91. token : "string.csound",
  92. regex : /([^ \t])(?:.*?\1)/,
  93. next : "pop"
  94. }
  95. ]
  96. }, {
  97. token : "keyword.preprocessor.csound",
  98. regex : /#[ \t]*define/,
  99. next : "define directive"
  100. }, {
  101. token : "keyword.preprocessor.csound",
  102. regex : /#(?:ifn?def|undef)\b/,
  103. next : "macro directive"
  104. },
  105. this.macroUses
  106. ];
  107. this.$rules = {
  108. "start": start,
  109. "define directive": [
  110. this.comments,
  111. {
  112. token : "entity.name.function.preprocessor.csound",
  113. regex : /[A-Z_a-z]\w*/
  114. }, {
  115. token : "punctuation.definition.macro-parameter-name-list.begin.csound",
  116. regex : /\(/,
  117. next : "macro parameter name list"
  118. }, {
  119. token : "punctuation.definition.macro.begin.csound",
  120. regex : /#/,
  121. next : "macro body"
  122. }
  123. ],
  124. "macro parameter name list": [
  125. {
  126. token : "variable.parameter.preprocessor.csound",
  127. regex : /[A-Z_a-z]\w*/
  128. }, {
  129. token : "punctuation.definition.macro-parameter-name-list.end.csound",
  130. regex : /\)/,
  131. next : "define directive"
  132. }
  133. ],
  134. "macro body": [
  135. {
  136. token : "constant.character.escape.csound",
  137. regex : /\\#/
  138. }, {
  139. token : "punctuation.definition.macro.end.csound",
  140. regex : /#/,
  141. next : "start"
  142. },
  143. start
  144. ],
  145. "macro directive": [
  146. this.comments,
  147. {
  148. token : "entity.name.function.preprocessor.csound",
  149. regex : /[A-Z_a-z]\w*/,
  150. next : "start"
  151. }
  152. ],
  153. "macro parameter value list": [
  154. {
  155. token : "punctuation.definition.macro-parameter-value-list.end.csound",
  156. regex : /\)/,
  157. next : "start"
  158. }, {
  159. token : "punctuation.definition.string.begin.csound",
  160. regex : /"/,
  161. next : "macro parameter value quoted string"
  162. }, this.pushRule({
  163. token : "punctuation.macro-parameter-value-parenthetical.begin.csound",
  164. regex : /\(/,
  165. next : "macro parameter value parenthetical"
  166. }), {
  167. token : "punctuation.macro-parameter-value-separator.csound",
  168. regex : "[#']"
  169. }
  170. ],
  171. "macro parameter value quoted string": [
  172. {
  173. token : "constant.character.escape.csound",
  174. regex : /\\[#'()]/
  175. }, {
  176. token : "invalid.illegal.csound",
  177. regex : /[#'()]/
  178. }, {
  179. token : "punctuation.definition.string.end.csound",
  180. regex : /"/,
  181. next : "macro parameter value list"
  182. },
  183. this.quotedStringContents,
  184. {
  185. defaultToken: "string.quoted.csound"
  186. }
  187. ],
  188. "macro parameter value parenthetical": [
  189. {
  190. token : "constant.character.escape.csound",
  191. regex : /\\\)/
  192. }, this.popRule({
  193. token : "punctuation.macro-parameter-value-parenthetical.end.csound",
  194. regex : /\)/
  195. }), this.pushRule({
  196. token : "punctuation.macro-parameter-value-parenthetical.begin.csound",
  197. regex : /\(/,
  198. next : "macro parameter value parenthetical"
  199. }),
  200. start
  201. ]
  202. };
  203. };
  204. oop.inherits(CsoundPreprocessorHighlightRules, TextHighlightRules);
  205. (function() {
  206. this.pushRule = function(params) {
  207. if (Array.isArray(params.next)) {
  208. for (var i = 0; i < params.next.length; i++) {
  209. params.next[i] = this.embeddedRulePrefix + params.next[i];
  210. }
  211. }
  212. return {
  213. regex : params.regex, onMatch: function(value, currentState, stack, line) {
  214. if (stack.length === 0)
  215. stack.push(currentState);
  216. if (Array.isArray(params.next)) {
  217. for (var i = 0; i < params.next.length; i++) {
  218. stack.push(params.next[i]);
  219. }
  220. } else {
  221. stack.push(params.next);
  222. }
  223. this.next = stack[stack.length - 1];
  224. return params.token;
  225. },
  226. get next() { return Array.isArray(params.next) ? params.next[params.next.length - 1] : params.next; },
  227. set next(next) {
  228. if (!Array.isArray(params.next)) {
  229. params.next = next;
  230. }
  231. },
  232. get token() { return params.token; }
  233. };
  234. };
  235. this.popRule = function(params) {
  236. if (params.next) {
  237. params.next = this.embeddedRulePrefix + params.next;
  238. }
  239. return {
  240. regex : params.regex, onMatch: function(value, currentState, stack, line) {
  241. stack.pop();
  242. if (params.next) {
  243. stack.push(params.next);
  244. this.next = stack[stack.length - 1];
  245. } else {
  246. this.next = stack.length > 1 ? stack[stack.length - 1] : stack.pop();
  247. }
  248. return params.token;
  249. }
  250. };
  251. };
  252. }).call(CsoundPreprocessorHighlightRules.prototype);
  253. exports.CsoundPreprocessorHighlightRules = CsoundPreprocessorHighlightRules;
  254. });
  255. define("ace/mode/csound_score_highlight_rules",["ace_require","exports","module","ace/lib/oop","ace/mode/csound_preprocessor_highlight_rules"], function(ace_require, exports, module) {
  256. "use strict";
  257. var oop = ace_require("../lib/oop");
  258. var CsoundPreprocessorHighlightRules = ace_require("./csound_preprocessor_highlight_rules").CsoundPreprocessorHighlightRules;
  259. var CsoundScoreHighlightRules = function(embeddedRulePrefix) {
  260. CsoundPreprocessorHighlightRules.call(this, embeddedRulePrefix);
  261. this.quotedStringContents.push({
  262. token : "invalid.illegal.csound-score",
  263. regex : /[^"]*$/
  264. });
  265. var start = this.$rules.start;
  266. start.push(
  267. {
  268. token : "keyword.control.csound-score",
  269. regex : /[abCdefiqstvxy]/
  270. }, {
  271. token : "invalid.illegal.csound-score",
  272. regex : /w/
  273. }, {
  274. token : "constant.numeric.language.csound-score",
  275. regex : /z/
  276. }, {
  277. token : ["keyword.control.csound-score", "constant.numeric.integer.decimal.csound-score"],
  278. regex : /([nNpP][pP])(\d+)/
  279. }, {
  280. token : "keyword.other.csound-score",
  281. regex : /[mn]/,
  282. push : [
  283. {
  284. token : "empty",
  285. regex : /$/,
  286. next : "pop"
  287. },
  288. this.comments,
  289. {
  290. token : "entity.name.label.csound-score",
  291. regex : /[A-Z_a-z]\w*/
  292. }
  293. ]
  294. }, {
  295. token : "keyword.preprocessor.csound-score",
  296. regex : /r\b/,
  297. next : "repeat section"
  298. },
  299. this.numbers,
  300. {
  301. token : "keyword.operator.csound-score",
  302. regex : "[!+\\-*/^%&|<>#~.]"
  303. },
  304. this.pushRule({
  305. token : "punctuation.definition.string.begin.csound-score",
  306. regex : /"/,
  307. next : "quoted string"
  308. }),
  309. this.pushRule({
  310. token : "punctuation.braced-loop.begin.csound-score",
  311. regex : /{/,
  312. next : "loop after left brace"
  313. })
  314. );
  315. this.addRules({
  316. "repeat section": [
  317. {
  318. token : "empty",
  319. regex : /$/,
  320. next : "start"
  321. },
  322. this.comments,
  323. {
  324. token : "constant.numeric.integer.decimal.csound-score",
  325. regex : /\d+/,
  326. next : "repeat section before label"
  327. }
  328. ],
  329. "repeat section before label": [
  330. {
  331. token : "empty",
  332. regex : /$/,
  333. next : "start"
  334. },
  335. this.comments,
  336. {
  337. token : "entity.name.label.csound-score",
  338. regex : /[A-Z_a-z]\w*/,
  339. next : "start"
  340. }
  341. ],
  342. "quoted string": [
  343. this.popRule({
  344. token : "punctuation.definition.string.end.csound-score",
  345. regex : /"/
  346. }),
  347. this.quotedStringContents,
  348. {
  349. defaultToken: "string.quoted.csound-score"
  350. }
  351. ],
  352. "loop after left brace": [
  353. this.popRule({
  354. token : "constant.numeric.integer.decimal.csound-score",
  355. regex : /\d+/,
  356. next : "loop after repeat count"
  357. }),
  358. this.comments,
  359. {
  360. token : "invalid.illegal.csound",
  361. regex : /\S.*/
  362. }
  363. ],
  364. "loop after repeat count": [
  365. this.popRule({
  366. token : "entity.name.function.preprocessor.csound-score",
  367. regex : /[A-Z_a-z]\w*\b/,
  368. next : "loop after macro name"
  369. }),
  370. this.comments,
  371. {
  372. token : "invalid.illegal.csound",
  373. regex : /\S.*/
  374. }
  375. ],
  376. "loop after macro name": [
  377. start,
  378. this.popRule({
  379. token : "punctuation.braced-loop.end.csound-score",
  380. regex : /}/
  381. })
  382. ]
  383. });
  384. this.normalizeRules();
  385. };
  386. oop.inherits(CsoundScoreHighlightRules, CsoundPreprocessorHighlightRules);
  387. exports.CsoundScoreHighlightRules = CsoundScoreHighlightRules;
  388. });
  389. define("ace/mode/lua_highlight_rules",["ace_require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(ace_require, exports, module) {
  390. "use strict";
  391. var oop = ace_require("../lib/oop");
  392. var TextHighlightRules = ace_require("./text_highlight_rules").TextHighlightRules;
  393. var LuaHighlightRules = function() {
  394. var keywords = (
  395. "break|do|else|elseif|end|for|function|if|in|local|repeat|"+
  396. "return|then|until|while|or|and|not"
  397. );
  398. var builtinConstants = ("true|false|nil|_G|_VERSION");
  399. var functions = (
  400. "string|xpcall|package|tostring|print|os|unpack|ace_require|"+
  401. "getfenv|setmetatable|next|assert|tonumber|io|rawequal|"+
  402. "collectgarbage|getmetatable|module|rawset|math|debug|"+
  403. "pcall|table|newproxy|type|coroutine|_G|select|gcinfo|"+
  404. "pairs|rawget|loadstring|ipairs|_VERSION|dofile|setfenv|"+
  405. "load|error|loadfile|"+
  406. "sub|upper|len|gfind|rep|find|match|char|dump|gmatch|"+
  407. "reverse|byte|format|gsub|lower|preload|loadlib|loaded|"+
  408. "loaders|cpath|config|path|seeall|exit|setlocale|date|"+
  409. "getenv|difftime|remove|time|clock|tmpname|rename|execute|"+
  410. "lines|write|close|flush|open|output|type|read|stderr|"+
  411. "stdin|input|stdout|popen|tmpfile|log|max|acos|huge|"+
  412. "ldexp|pi|cos|tanh|pow|deg|tan|cosh|sinh|random|randomseed|"+
  413. "frexp|ceil|floor|rad|abs|sqrt|modf|asin|min|mod|fmod|log10|"+
  414. "atan2|exp|sin|atan|getupvalue|debug|sethook|getmetatable|"+
  415. "gethook|setmetatable|setlocal|traceback|setfenv|getinfo|"+
  416. "setupvalue|getlocal|getregistry|getfenv|setn|insert|getn|"+
  417. "foreachi|maxn|foreach|concat|sort|remove|resume|yield|"+
  418. "status|wrap|create|running|"+
  419. "__add|__sub|__mod|__unm|__concat|__lt|__index|__call|__gc|__metatable|"+
  420. "__mul|__div|__pow|__len|__eq|__le|__newindex|__tostring|__mode|__tonumber"
  421. );
  422. var stdLibaries = ("string|package|os|io|math|debug|table|coroutine");
  423. var deprecatedIn5152 = ("setn|foreach|foreachi|gcinfo|log10|maxn");
  424. var keywordMapper = this.createKeywordMapper({
  425. "keyword": keywords,
  426. "support.function": functions,
  427. "keyword.deprecated": deprecatedIn5152,
  428. "constant.library": stdLibaries,
  429. "constant.language": builtinConstants,
  430. "variable.language": "self"
  431. }, "identifier");
  432. var decimalInteger = "(?:(?:[1-9]\\d*)|(?:0))";
  433. var hexInteger = "(?:0[xX][\\dA-Fa-f]+)";
  434. var integer = "(?:" + decimalInteger + "|" + hexInteger + ")";
  435. var fraction = "(?:\\.\\d+)";
  436. var intPart = "(?:\\d+)";
  437. var pointFloat = "(?:(?:" + intPart + "?" + fraction + ")|(?:" + intPart + "\\.))";
  438. var floatNumber = "(?:" + pointFloat + ")";
  439. this.$rules = {
  440. "start" : [{
  441. stateName: "bracketedComment",
  442. onMatch : function(value, currentState, stack){
  443. stack.unshift(this.next, value.length - 2, currentState);
  444. return "comment";
  445. },
  446. regex : /\-\-\[=*\[/,
  447. next : [
  448. {
  449. onMatch : function(value, currentState, stack) {
  450. if (value.length == stack[1]) {
  451. stack.shift();
  452. stack.shift();
  453. this.next = stack.shift();
  454. } else {
  455. this.next = "";
  456. }
  457. return "comment";
  458. },
  459. regex : /\]=*\]/,
  460. next : "start"
  461. }, {
  462. defaultToken : "comment"
  463. }
  464. ]
  465. },
  466. {
  467. token : "comment",
  468. regex : "\\-\\-.*$"
  469. },
  470. {
  471. stateName: "bracketedString",
  472. onMatch : function(value, currentState, stack){
  473. stack.unshift(this.next, value.length, currentState);
  474. return "string.start";
  475. },
  476. regex : /\[=*\[/,
  477. next : [
  478. {
  479. onMatch : function(value, currentState, stack) {
  480. if (value.length == stack[1]) {
  481. stack.shift();
  482. stack.shift();
  483. this.next = stack.shift();
  484. } else {
  485. this.next = "";
  486. }
  487. return "string.end";
  488. },
  489. regex : /\]=*\]/,
  490. next : "start"
  491. }, {
  492. defaultToken : "string"
  493. }
  494. ]
  495. },
  496. {
  497. token : "string", // " string
  498. regex : '"(?:[^\\\\]|\\\\.)*?"'
  499. }, {
  500. token : "string", // ' string
  501. regex : "'(?:[^\\\\]|\\\\.)*?'"
  502. }, {
  503. token : "constant.numeric", // float
  504. regex : floatNumber
  505. }, {
  506. token : "constant.numeric", // integer
  507. regex : integer + "\\b"
  508. }, {
  509. token : keywordMapper,
  510. regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
  511. }, {
  512. token : "keyword.operator",
  513. regex : "\\+|\\-|\\*|\\/|%|\\#|\\^|~|<|>|<=|=>|==|~=|=|\\:|\\.\\.\\.|\\.\\."
  514. }, {
  515. token : "paren.lparen",
  516. regex : "[\\[\\(\\{]"
  517. }, {
  518. token : "paren.rparen",
  519. regex : "[\\]\\)\\}]"
  520. }, {
  521. token : "text",
  522. regex : "\\s+|\\w+"
  523. } ]
  524. };
  525. this.normalizeRules();
  526. };
  527. oop.inherits(LuaHighlightRules, TextHighlightRules);
  528. exports.LuaHighlightRules = LuaHighlightRules;
  529. });
  530. define("ace/mode/python_highlight_rules",["ace_require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(ace_require, exports, module) {
  531. "use strict";
  532. var oop = ace_require("../lib/oop");
  533. var TextHighlightRules = ace_require("./text_highlight_rules").TextHighlightRules;
  534. var PythonHighlightRules = function() {
  535. var keywords = (
  536. "and|as|assert|break|class|continue|def|del|elif|else|except|exec|" +
  537. "finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|" +
  538. "raise|return|try|while|with|yield|async|await|nonlocal"
  539. );
  540. var builtinConstants = (
  541. "True|False|None|NotImplemented|Ellipsis|__debug__"
  542. );
  543. var builtinFunctions = (
  544. "abs|divmod|input|open|staticmethod|all|enumerate|int|ord|str|any|" +
  545. "eval|isinstance|pow|sum|basestring|execfile|issubclass|print|super|" +
  546. "binfile|bin|iter|property|tuple|bool|filter|len|range|type|bytearray|" +
  547. "float|list|raw_input|unichr|callable|format|locals|reduce|unicode|" +
  548. "chr|frozenset|long|reload|vars|classmethod|getattr|map|repr|xrange|" +
  549. "cmp|globals|max|reversed|zip|compile|hasattr|memoryview|round|" +
  550. "__import__|complex|hash|min|apply|delattr|help|next|setattr|set|" +
  551. "buffer|dict|hex|object|slice|coerce|dir|id|oct|sorted|intern|" +
  552. "ascii|breakpoint|bytes"
  553. );
  554. var keywordMapper = this.createKeywordMapper({
  555. "invalid.deprecated": "debugger",
  556. "support.function": builtinFunctions,
  557. "variable.language": "self|cls",
  558. "constant.language": builtinConstants,
  559. "keyword": keywords
  560. }, "identifier");
  561. var strPre = "[uU]?";
  562. var strRawPre = "[rR]";
  563. var strFormatPre = "[fF]";
  564. var strRawFormatPre = "(?:[rR][fF]|[fF][rR])";
  565. var decimalInteger = "(?:(?:[1-9]\\d*)|(?:0))";
  566. var octInteger = "(?:0[oO]?[0-7]+)";
  567. var hexInteger = "(?:0[xX][\\dA-Fa-f]+)";
  568. var binInteger = "(?:0[bB][01]+)";
  569. var integer = "(?:" + decimalInteger + "|" + octInteger + "|" + hexInteger + "|" + binInteger + ")";
  570. var exponent = "(?:[eE][+-]?\\d+)";
  571. var fraction = "(?:\\.\\d+)";
  572. var intPart = "(?:\\d+)";
  573. var pointFloat = "(?:(?:" + intPart + "?" + fraction + ")|(?:" + intPart + "\\.))";
  574. var exponentFloat = "(?:(?:" + pointFloat + "|" + intPart + ")" + exponent + ")";
  575. var floatNumber = "(?:" + exponentFloat + "|" + pointFloat + ")";
  576. var stringEscape = "\\\\(x[0-9A-Fa-f]{2}|[0-7]{3}|[\\\\abfnrtv'\"]|U[0-9A-Fa-f]{8}|u[0-9A-Fa-f]{4})";
  577. this.$rules = {
  578. "start" : [ {
  579. token : "comment",
  580. regex : "#.*$"
  581. }, {
  582. token : "string", // multi line """ string start
  583. regex : strPre + '"{3}',
  584. next : "qqstring3"
  585. }, {
  586. token : "string", // " string
  587. regex : strPre + '"(?=.)',
  588. next : "qqstring"
  589. }, {
  590. token : "string", // multi line ''' string start
  591. regex : strPre + "'{3}",
  592. next : "qstring3"
  593. }, {
  594. token : "string", // ' string
  595. regex : strPre + "'(?=.)",
  596. next : "qstring"
  597. }, {
  598. token: "string",
  599. regex: strRawPre + '"{3}',
  600. next: "rawqqstring3"
  601. }, {
  602. token: "string",
  603. regex: strRawPre + '"(?=.)',
  604. next: "rawqqstring"
  605. }, {
  606. token: "string",
  607. regex: strRawPre + "'{3}",
  608. next: "rawqstring3"
  609. }, {
  610. token: "string",
  611. regex: strRawPre + "'(?=.)",
  612. next: "rawqstring"
  613. }, {
  614. token: "string",
  615. regex: strFormatPre + '"{3}',
  616. next: "fqqstring3"
  617. }, {
  618. token: "string",
  619. regex: strFormatPre + '"(?=.)',
  620. next: "fqqstring"
  621. }, {
  622. token: "string",
  623. regex: strFormatPre + "'{3}",
  624. next: "fqstring3"
  625. }, {
  626. token: "string",
  627. regex: strFormatPre + "'(?=.)",
  628. next: "fqstring"
  629. },{
  630. token: "string",
  631. regex: strRawFormatPre + '"{3}',
  632. next: "rfqqstring3"
  633. }, {
  634. token: "string",
  635. regex: strRawFormatPre + '"(?=.)',
  636. next: "rfqqstring"
  637. }, {
  638. token: "string",
  639. regex: strRawFormatPre + "'{3}",
  640. next: "rfqstring3"
  641. }, {
  642. token: "string",
  643. regex: strRawFormatPre + "'(?=.)",
  644. next: "rfqstring"
  645. }, {
  646. token: "keyword.operator",
  647. regex: "\\+|\\-|\\*|\\*\\*|\\/|\\/\\/|%|@|<<|>>|&|\\||\\^|~|<|>|<=|=>|==|!=|<>|="
  648. }, {
  649. token: "punctuation",
  650. regex: ",|:|;|\\->|\\+=|\\-=|\\*=|\\/=|\\/\\/=|%=|@=|&=|\\|=|^=|>>=|<<=|\\*\\*="
  651. }, {
  652. token: "paren.lparen",
  653. regex: "[\\[\\(\\{]"
  654. }, {
  655. token: "paren.rparen",
  656. regex: "[\\]\\)\\}]"
  657. }, {
  658. token: "text",
  659. regex: "\\s+"
  660. }, {
  661. include: "constants"
  662. }],
  663. "qqstring3": [{
  664. token: "constant.language.escape",
  665. regex: stringEscape
  666. }, {
  667. token: "string", // multi line """ string end
  668. regex: '"{3}',
  669. next: "start"
  670. }, {
  671. defaultToken: "string"
  672. }],
  673. "qstring3": [{
  674. token: "constant.language.escape",
  675. regex: stringEscape
  676. }, {
  677. token: "string", // multi line ''' string end
  678. regex: "'{3}",
  679. next: "start"
  680. }, {
  681. defaultToken: "string"
  682. }],
  683. "qqstring": [{
  684. token: "constant.language.escape",
  685. regex: stringEscape
  686. }, {
  687. token: "string",
  688. regex: "\\\\$",
  689. next: "qqstring"
  690. }, {
  691. token: "string",
  692. regex: '"|$',
  693. next: "start"
  694. }, {
  695. defaultToken: "string"
  696. }],
  697. "qstring": [{
  698. token: "constant.language.escape",
  699. regex: stringEscape
  700. }, {
  701. token: "string",
  702. regex: "\\\\$",
  703. next: "qstring"
  704. }, {
  705. token: "string",
  706. regex: "'|$",
  707. next: "start"
  708. }, {
  709. defaultToken: "string"
  710. }],
  711. "rawqqstring3": [{
  712. token: "string", // multi line """ string end
  713. regex: '"{3}',
  714. next: "start"
  715. }, {
  716. defaultToken: "string"
  717. }],
  718. "rawqstring3": [{
  719. token: "string", // multi line ''' string end
  720. regex: "'{3}",
  721. next: "start"
  722. }, {
  723. defaultToken: "string"
  724. }],
  725. "rawqqstring": [{
  726. token: "string",
  727. regex: "\\\\$",
  728. next: "rawqqstring"
  729. }, {
  730. token: "string",
  731. regex: '"|$',
  732. next: "start"
  733. }, {
  734. defaultToken: "string"
  735. }],
  736. "rawqstring": [{
  737. token: "string",
  738. regex: "\\\\$",
  739. next: "rawqstring"
  740. }, {
  741. token: "string",
  742. regex: "'|$",
  743. next: "start"
  744. }, {
  745. defaultToken: "string"
  746. }],
  747. "fqqstring3": [{
  748. token: "constant.language.escape",
  749. regex: stringEscape
  750. }, {
  751. token: "string", // multi line """ string end
  752. regex: '"{3}',
  753. next: "start"
  754. }, {
  755. token: "paren.lparen",
  756. regex: "{",
  757. push: "fqstringParRules"
  758. }, {
  759. defaultToken: "string"
  760. }],
  761. "fqstring3": [{
  762. token: "constant.language.escape",
  763. regex: stringEscape
  764. }, {
  765. token: "string", // multi line ''' string end
  766. regex: "'{3}",
  767. next: "start"
  768. }, {
  769. token: "paren.lparen",
  770. regex: "{",
  771. push: "fqstringParRules"
  772. }, {
  773. defaultToken: "string"
  774. }],
  775. "fqqstring": [{
  776. token: "constant.language.escape",
  777. regex: stringEscape
  778. }, {
  779. token: "string",
  780. regex: "\\\\$",
  781. next: "fqqstring"
  782. }, {
  783. token: "string",
  784. regex: '"|$',
  785. next: "start"
  786. }, {
  787. token: "paren.lparen",
  788. regex: "{",
  789. push: "fqstringParRules"
  790. }, {
  791. defaultToken: "string"
  792. }],
  793. "fqstring": [{
  794. token: "constant.language.escape",
  795. regex: stringEscape
  796. }, {
  797. token: "string",
  798. regex: "'|$",
  799. next: "start"
  800. }, {
  801. token: "paren.lparen",
  802. regex: "{",
  803. push: "fqstringParRules"
  804. }, {
  805. defaultToken: "string"
  806. }],
  807. "rfqqstring3": [{
  808. token: "string", // multi line """ string end
  809. regex: '"{3}',
  810. next: "start"
  811. }, {
  812. token: "paren.lparen",
  813. regex: "{",
  814. push: "fqstringParRules"
  815. }, {
  816. defaultToken: "string"
  817. }],
  818. "rfqstring3": [{
  819. token: "string", // multi line ''' string end
  820. regex: "'{3}",
  821. next: "start"
  822. }, {
  823. token: "paren.lparen",
  824. regex: "{",
  825. push: "fqstringParRules"
  826. }, {
  827. defaultToken: "string"
  828. }],
  829. "rfqqstring": [{
  830. token: "string",
  831. regex: "\\\\$",
  832. next: "rfqqstring"
  833. }, {
  834. token: "string",
  835. regex: '"|$',
  836. next: "start"
  837. }, {
  838. token: "paren.lparen",
  839. regex: "{",
  840. push: "fqstringParRules"
  841. }, {
  842. defaultToken: "string"
  843. }],
  844. "rfqstring": [{
  845. token: "string",
  846. regex: "'|$",
  847. next: "start"
  848. }, {
  849. token: "paren.lparen",
  850. regex: "{",
  851. push: "fqstringParRules"
  852. }, {
  853. defaultToken: "string"
  854. }],
  855. "fqstringParRules": [{//TODO: nested {}
  856. token: "paren.lparen",
  857. regex: "[\\[\\(]"
  858. }, {
  859. token: "paren.rparen",
  860. regex: "[\\]\\)]"
  861. }, {
  862. token: "string",
  863. regex: "\\s+"
  864. }, {
  865. token: "string",
  866. regex: "'(.)*'"
  867. }, {
  868. token: "string",
  869. regex: '"(.)*"'
  870. }, {
  871. token: "function.support",
  872. regex: "(!s|!r|!a)"
  873. }, {
  874. include: "constants"
  875. },{
  876. token: 'paren.rparen',
  877. regex: "}",
  878. next: 'pop'
  879. },{
  880. token: 'paren.lparen',
  881. regex: "{",
  882. push: "fqstringParRules"
  883. }],
  884. "constants": [{
  885. token: "constant.numeric", // imaginary
  886. regex: "(?:" + floatNumber + "|\\d+)[jJ]\\b"
  887. }, {
  888. token: "constant.numeric", // float
  889. regex: floatNumber
  890. }, {
  891. token: "constant.numeric", // long integer
  892. regex: integer + "[lL]\\b"
  893. }, {
  894. token: "constant.numeric", // integer
  895. regex: integer + "\\b"
  896. }, {
  897. token: ["punctuation", "function.support"],// method
  898. regex: "(\\.)([a-zA-Z_]+)\\b"
  899. }, {
  900. token: keywordMapper,
  901. regex: "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
  902. }]
  903. };
  904. this.normalizeRules();
  905. };
  906. oop.inherits(PythonHighlightRules, TextHighlightRules);
  907. exports.PythonHighlightRules = PythonHighlightRules;
  908. });
  909. define("ace/mode/csound_orchestra_highlight_rules",["ace_require","exports","module","ace/lib/lang","ace/lib/oop","ace/mode/csound_preprocessor_highlight_rules","ace/mode/csound_score_highlight_rules","ace/mode/lua_highlight_rules","ace/mode/python_highlight_rules"], function(ace_require, exports, module) {
  910. "use strict";
  911. var lang = ace_require("../lib/lang");
  912. var oop = ace_require("../lib/oop");
  913. var CsoundPreprocessorHighlightRules = ace_require("./csound_preprocessor_highlight_rules").CsoundPreprocessorHighlightRules;
  914. var CsoundScoreHighlightRules = ace_require("./csound_score_highlight_rules").CsoundScoreHighlightRules;
  915. var LuaHighlightRules = ace_require("./lua_highlight_rules").LuaHighlightRules;
  916. var PythonHighlightRules = ace_require("./python_highlight_rules").PythonHighlightRules;
  917. var CsoundOrchestraHighlightRules = function(embeddedRulePrefix) {
  918. CsoundPreprocessorHighlightRules.call(this, embeddedRulePrefix);
  919. var opcodes = [
  920. "ATSadd",
  921. "ATSaddnz",
  922. "ATSbufread",
  923. "ATScross",
  924. "ATSinfo",
  925. "ATSinterpread",
  926. "ATSpartialtap",
  927. "ATSread",
  928. "ATSreadnz",
  929. "ATSsinnoi",
  930. "FLbox",
  931. "FLbutBank",
  932. "FLbutton",
  933. "FLcloseButton",
  934. "FLcolor",
  935. "FLcolor2",
  936. "FLcount",
  937. "FLexecButton",
  938. "FLgetsnap",
  939. "FLgroup",
  940. "FLgroupEnd",
  941. "FLgroup_end",
  942. "FLhide",
  943. "FLhvsBox",
  944. "FLhvsBoxSetValue",
  945. "FLjoy",
  946. "FLkeyIn",
  947. "FLknob",
  948. "FLlabel",
  949. "FLloadsnap",
  950. "FLmouse",
  951. "FLpack",
  952. "FLpackEnd",
  953. "FLpack_end",
  954. "FLpanel",
  955. "FLpanelEnd",
  956. "FLpanel_end",
  957. "FLprintk",
  958. "FLprintk2",
  959. "FLroller",
  960. "FLrun",
  961. "FLsavesnap",
  962. "FLscroll",
  963. "FLscrollEnd",
  964. "FLscroll_end",
  965. "FLsetAlign",
  966. "FLsetBox",
  967. "FLsetColor",
  968. "FLsetColor2",
  969. "FLsetFont",
  970. "FLsetPosition",
  971. "FLsetSize",
  972. "FLsetSnapGroup",
  973. "FLsetText",
  974. "FLsetTextColor",
  975. "FLsetTextSize",
  976. "FLsetTextType",
  977. "FLsetVal",
  978. "FLsetVal_i",
  979. "FLsetVali",
  980. "FLsetsnap",
  981. "FLshow",
  982. "FLslidBnk",
  983. "FLslidBnk2",
  984. "FLslidBnk2Set",
  985. "FLslidBnk2Setk",
  986. "FLslidBnkGetHandle",
  987. "FLslidBnkSet",
  988. "FLslidBnkSetk",
  989. "FLslider",
  990. "FLtabs",
  991. "FLtabsEnd",
  992. "FLtabs_end",
  993. "FLtext",
  994. "FLupdate",
  995. "FLvalue",
  996. "FLvkeybd",
  997. "FLvslidBnk",
  998. "FLvslidBnk2",
  999. "FLxyin",
  1000. "JackoAudioIn",
  1001. "JackoAudioInConnect",
  1002. "JackoAudioOut",
  1003. "JackoAudioOutConnect",
  1004. "JackoFreewheel",
  1005. "JackoInfo",
  1006. "JackoInit",
  1007. "JackoMidiInConnect",
  1008. "JackoMidiOut",
  1009. "JackoMidiOutConnect",
  1010. "JackoNoteOut",
  1011. "JackoOn",
  1012. "JackoTransport",
  1013. "K35_hpf",
  1014. "K35_lpf",
  1015. "MixerClear",
  1016. "MixerGetLevel",
  1017. "MixerReceive",
  1018. "MixerSend",
  1019. "MixerSetLevel",
  1020. "MixerSetLevel_i",
  1021. "OSCbundle",
  1022. "OSCcount",
  1023. "OSCinit",
  1024. "OSCinitM",
  1025. "OSClisten",
  1026. "OSCraw",
  1027. "OSCsend",
  1028. "OSCsend_lo",
  1029. "S",
  1030. "STKBandedWG",
  1031. "STKBeeThree",
  1032. "STKBlowBotl",
  1033. "STKBlowHole",
  1034. "STKBowed",
  1035. "STKBrass",
  1036. "STKClarinet",
  1037. "STKDrummer",
  1038. "STKFMVoices",
  1039. "STKFlute",
  1040. "STKHevyMetl",
  1041. "STKMandolin",
  1042. "STKModalBar",
  1043. "STKMoog",
  1044. "STKPercFlut",
  1045. "STKPlucked",
  1046. "STKResonate",
  1047. "STKRhodey",
  1048. "STKSaxofony",
  1049. "STKShakers",
  1050. "STKSimple",
  1051. "STKSitar",
  1052. "STKStifKarp",
  1053. "STKTubeBell",
  1054. "STKVoicForm",
  1055. "STKWhistle",
  1056. "STKWurley",
  1057. "a",
  1058. "abs",
  1059. "active",
  1060. "adsr",
  1061. "adsyn",
  1062. "adsynt",
  1063. "adsynt2",
  1064. "aftouch",
  1065. "alpass",
  1066. "alwayson",
  1067. "ampdb",
  1068. "ampdbfs",
  1069. "ampmidi",
  1070. "ampmidicurve",
  1071. "ampmidid",
  1072. "areson",
  1073. "aresonk",
  1074. "atone",
  1075. "atonek",
  1076. "atonex",
  1077. "babo",
  1078. "balance",
  1079. "balance2",
  1080. "bamboo",
  1081. "barmodel",
  1082. "bbcutm",
  1083. "bbcuts",
  1084. "beadsynt",
  1085. "beosc",
  1086. "betarand",
  1087. "bexprnd",
  1088. "bformdec1",
  1089. "bformenc1",
  1090. "binit",
  1091. "biquad",
  1092. "biquada",
  1093. "birnd",
  1094. "bpf",
  1095. "bpfcos",
  1096. "bqrez",
  1097. "butbp",
  1098. "butbr",
  1099. "buthp",
  1100. "butlp",
  1101. "butterbp",
  1102. "butterbr",
  1103. "butterhp",
  1104. "butterlp",
  1105. "button",
  1106. "buzz",
  1107. "c2r",
  1108. "cabasa",
  1109. "cauchy",
  1110. "cauchyi",
  1111. "cbrt",
  1112. "ceil",
  1113. "cell",
  1114. "cent",
  1115. "centroid",
  1116. "ceps",
  1117. "cepsinv",
  1118. "chanctrl",
  1119. "changed2",
  1120. "chani",
  1121. "chano",
  1122. "chebyshevpoly",
  1123. "checkbox",
  1124. "chn_S",
  1125. "chn_a",
  1126. "chn_k",
  1127. "chnclear",
  1128. "chnexport",
  1129. "chnget",
  1130. "chngeta",
  1131. "chngeti",
  1132. "chngetk",
  1133. "chngetks",
  1134. "chngets",
  1135. "chnmix",
  1136. "chnparams",
  1137. "chnset",
  1138. "chnseta",
  1139. "chnseti",
  1140. "chnsetk",
  1141. "chnsetks",
  1142. "chnsets",
  1143. "chuap",
  1144. "clear",
  1145. "clfilt",
  1146. "clip",
  1147. "clockoff",
  1148. "clockon",
  1149. "cmp",
  1150. "cmplxprod",
  1151. "comb",
  1152. "combinv",
  1153. "compilecsd",
  1154. "compileorc",
  1155. "compilestr",
  1156. "compress",
  1157. "compress2",
  1158. "connect",
  1159. "control",
  1160. "convle",
  1161. "convolve",
  1162. "copya2ftab",
  1163. "copyf2array",
  1164. "cos",
  1165. "cosh",
  1166. "cosinv",
  1167. "cosseg",
  1168. "cossegb",
  1169. "cossegr",
  1170. "cps2pch",
  1171. "cpsmidi",
  1172. "cpsmidib",
  1173. "cpsmidinn",
  1174. "cpsoct",
  1175. "cpspch",
  1176. "cpstmid",
  1177. "cpstun",
  1178. "cpstuni",
  1179. "cpsxpch",
  1180. "cpumeter",
  1181. "cpuprc",
  1182. "cross2",
  1183. "crossfm",
  1184. "crossfmi",
  1185. "crossfmpm",
  1186. "crossfmpmi",
  1187. "crosspm",
  1188. "crosspmi",
  1189. "crunch",
  1190. "ctlchn",
  1191. "ctrl14",
  1192. "ctrl21",
  1193. "ctrl7",
  1194. "ctrlinit",
  1195. "cuserrnd",
  1196. "dam",
  1197. "date",
  1198. "dates",
  1199. "db",
  1200. "dbamp",
  1201. "dbfsamp",
  1202. "dcblock",
  1203. "dcblock2",
  1204. "dconv",
  1205. "dct",
  1206. "dctinv",
  1207. "deinterleave",
  1208. "delay",
  1209. "delay1",
  1210. "delayk",
  1211. "delayr",
  1212. "delayw",
  1213. "deltap",
  1214. "deltap3",
  1215. "deltapi",
  1216. "deltapn",
  1217. "deltapx",
  1218. "deltapxw",
  1219. "denorm",
  1220. "diff",
  1221. "diode_ladder",
  1222. "directory",
  1223. "diskgrain",
  1224. "diskin",
  1225. "diskin2",
  1226. "dispfft",
  1227. "display",
  1228. "distort",
  1229. "distort1",
  1230. "divz",
  1231. "doppler",
  1232. "dot",
  1233. "downsamp",
  1234. "dripwater",
  1235. "dssiactivate",
  1236. "dssiaudio",
  1237. "dssictls",
  1238. "dssiinit",
  1239. "dssilist",
  1240. "dumpk",
  1241. "dumpk2",
  1242. "dumpk3",
  1243. "dumpk4",
  1244. "duserrnd",
  1245. "dust",
  1246. "dust2",
  1247. "envlpx",
  1248. "envlpxr",
  1249. "ephasor",
  1250. "eqfil",
  1251. "evalstr",
  1252. "event",
  1253. "event_i",
  1254. "exciter",
  1255. "exitnow",
  1256. "exp",
  1257. "expcurve",
  1258. "expon",
  1259. "exprand",
  1260. "exprandi",
  1261. "expseg",
  1262. "expsega",
  1263. "expsegb",
  1264. "expsegba",
  1265. "expsegr",
  1266. "fareylen",
  1267. "fareyleni",
  1268. "faustaudio",
  1269. "faustcompile",
  1270. "faustctl",
  1271. "faustdsp",
  1272. "faustgen",
  1273. "faustplay",
  1274. "fft",
  1275. "fftinv",
  1276. "ficlose",
  1277. "filebit",
  1278. "filelen",
  1279. "filenchnls",
  1280. "filepeak",
  1281. "filescal",
  1282. "filesr",
  1283. "filevalid",
  1284. "fillarray",
  1285. "filter2",
  1286. "fin",
  1287. "fini",
  1288. "fink",
  1289. "fiopen",
  1290. "flanger",
  1291. "flashtxt",
  1292. "flooper",
  1293. "flooper2",
  1294. "floor",
  1295. "fluidAllOut",
  1296. "fluidCCi",
  1297. "fluidCCk",
  1298. "fluidControl",
  1299. "fluidEngine",
  1300. "fluidInfo",
  1301. "fluidLoad",
  1302. "fluidNote",
  1303. "fluidOut",
  1304. "fluidProgramSelect",
  1305. "fluidSetInterpMethod",
  1306. "fmanal",
  1307. "fmax",
  1308. "fmb3",
  1309. "fmbell",
  1310. "fmin",
  1311. "fmmetal",
  1312. "fmod",
  1313. "fmpercfl",
  1314. "fmrhode",
  1315. "fmvoice",
  1316. "fmwurlie",
  1317. "fof",
  1318. "fof2",
  1319. "fofilter",
  1320. "fog",
  1321. "fold",
  1322. "follow",
  1323. "follow2",
  1324. "foscil",
  1325. "foscili",
  1326. "fout",
  1327. "fouti",
  1328. "foutir",
  1329. "foutk",
  1330. "fprintks",
  1331. "fprints",
  1332. "frac",
  1333. "fractalnoise",
  1334. "framebuffer",
  1335. "freeverb",
  1336. "ftaudio",
  1337. "ftchnls",
  1338. "ftconv",
  1339. "ftcps",
  1340. "ftexists",
  1341. "ftfree",
  1342. "ftgen",
  1343. "ftgenonce",
  1344. "ftgentmp",
  1345. "ftlen",
  1346. "ftload",
  1347. "ftloadk",
  1348. "ftlptim",
  1349. "ftmorf",
  1350. "ftom",
  1351. "ftprint",
  1352. "ftresize",
  1353. "ftresizei",
  1354. "ftsamplebank",
  1355. "ftsave",
  1356. "ftsavek",
  1357. "ftslice",
  1358. "ftsr",
  1359. "gain",
  1360. "gainslider",
  1361. "gauss",
  1362. "gaussi",
  1363. "gausstrig",
  1364. "gbuzz",
  1365. "genarray",
  1366. "genarray_i",
  1367. "gendy",
  1368. "gendyc",
  1369. "gendyx",
  1370. "getcfg",
  1371. "getcol",
  1372. "getftargs",
  1373. "getrow",
  1374. "getrowlin",
  1375. "getseed",
  1376. "gogobel",
  1377. "grain",
  1378. "grain2",
  1379. "grain3",
  1380. "granule",
  1381. "gtf",
  1382. "guiro",
  1383. "harmon",
  1384. "harmon2",
  1385. "harmon3",
  1386. "harmon4",
  1387. "hdf5read",
  1388. "hdf5write",
  1389. "hilbert",
  1390. "hilbert2",
  1391. "hrtfearly",
  1392. "hrtfmove",
  1393. "hrtfmove2",
  1394. "hrtfreverb",
  1395. "hrtfstat",
  1396. "hsboscil",
  1397. "hvs1",
  1398. "hvs2",
  1399. "hvs3",
  1400. "hypot",
  1401. "i",
  1402. "ihold",
  1403. "imagecreate",
  1404. "imagefree",
  1405. "imagegetpixel",
  1406. "imageload",
  1407. "imagesave",
  1408. "imagesetpixel",
  1409. "imagesize",
  1410. "in",
  1411. "in32",
  1412. "inch",
  1413. "inh",
  1414. "init",
  1415. "initc14",
  1416. "initc21",
  1417. "initc7",
  1418. "inleta",
  1419. "inletf",
  1420. "inletk",
  1421. "inletkid",
  1422. "inletv",
  1423. "ino",
  1424. "inq",
  1425. "inrg",
  1426. "ins",
  1427. "insglobal",
  1428. "insremot",
  1429. "int",
  1430. "integ",
  1431. "interleave",
  1432. "interp",
  1433. "invalue",
  1434. "inx",
  1435. "inz",
  1436. "jacktransport",
  1437. "jitter",
  1438. "jitter2",
  1439. "joystick",
  1440. "jspline",
  1441. "k",
  1442. "la_i_add_mc",
  1443. "la_i_add_mr",
  1444. "la_i_add_vc",
  1445. "la_i_add_vr",
  1446. "la_i_assign_mc",
  1447. "la_i_assign_mr",
  1448. "la_i_assign_t",
  1449. "la_i_assign_vc",
  1450. "la_i_assign_vr",
  1451. "la_i_conjugate_mc",
  1452. "la_i_conjugate_mr",
  1453. "la_i_conjugate_vc",
  1454. "la_i_conjugate_vr",
  1455. "la_i_distance_vc",
  1456. "la_i_distance_vr",
  1457. "la_i_divide_mc",
  1458. "la_i_divide_mr",
  1459. "la_i_divide_vc",
  1460. "la_i_divide_vr",
  1461. "la_i_dot_mc",
  1462. "la_i_dot_mc_vc",
  1463. "la_i_dot_mr",
  1464. "la_i_dot_mr_vr",
  1465. "la_i_dot_vc",
  1466. "la_i_dot_vr",
  1467. "la_i_get_mc",
  1468. "la_i_get_mr",
  1469. "la_i_get_vc",
  1470. "la_i_get_vr",
  1471. "la_i_invert_mc",
  1472. "la_i_invert_mr",
  1473. "la_i_lower_solve_mc",
  1474. "la_i_lower_solve_mr",
  1475. "la_i_lu_det_mc",
  1476. "la_i_lu_det_mr",
  1477. "la_i_lu_factor_mc",
  1478. "la_i_lu_factor_mr",
  1479. "la_i_lu_solve_mc",
  1480. "la_i_lu_solve_mr",
  1481. "la_i_mc_create",
  1482. "la_i_mc_set",
  1483. "la_i_mr_create",
  1484. "la_i_mr_set",
  1485. "la_i_multiply_mc",
  1486. "la_i_multiply_mr",
  1487. "la_i_multiply_vc",
  1488. "la_i_multiply_vr",
  1489. "la_i_norm1_mc",
  1490. "la_i_norm1_mr",
  1491. "la_i_norm1_vc",
  1492. "la_i_norm1_vr",
  1493. "la_i_norm_euclid_mc",
  1494. "la_i_norm_euclid_mr",
  1495. "la_i_norm_euclid_vc",
  1496. "la_i_norm_euclid_vr",
  1497. "la_i_norm_inf_mc",
  1498. "la_i_norm_inf_mr",
  1499. "la_i_norm_inf_vc",
  1500. "la_i_norm_inf_vr",
  1501. "la_i_norm_max_mc",
  1502. "la_i_norm_max_mr",
  1503. "la_i_print_mc",
  1504. "la_i_print_mr",
  1505. "la_i_print_vc",
  1506. "la_i_print_vr",
  1507. "la_i_qr_eigen_mc",
  1508. "la_i_qr_eigen_mr",
  1509. "la_i_qr_factor_mc",
  1510. "la_i_qr_factor_mr",
  1511. "la_i_qr_sym_eigen_mc",
  1512. "la_i_qr_sym_eigen_mr",
  1513. "la_i_random_mc",
  1514. "la_i_random_mr",
  1515. "la_i_random_vc",
  1516. "la_i_random_vr",
  1517. "la_i_size_mc",
  1518. "la_i_size_mr",
  1519. "la_i_size_vc",
  1520. "la_i_size_vr",
  1521. "la_i_subtract_mc",
  1522. "la_i_subtract_mr",
  1523. "la_i_subtract_vc",
  1524. "la_i_subtract_vr",
  1525. "la_i_t_assign",
  1526. "la_i_trace_mc",
  1527. "la_i_trace_mr",
  1528. "la_i_transpose_mc",
  1529. "la_i_transpose_mr",
  1530. "la_i_upper_solve_mc",
  1531. "la_i_upper_solve_mr",
  1532. "la_i_vc_create",
  1533. "la_i_vc_set",
  1534. "la_i_vr_create",
  1535. "la_i_vr_set",
  1536. "la_k_a_assign",
  1537. "la_k_add_mc",
  1538. "la_k_add_mr",
  1539. "la_k_add_vc",
  1540. "la_k_add_vr",
  1541. "la_k_assign_a",
  1542. "la_k_assign_f",
  1543. "la_k_assign_mc",
  1544. "la_k_assign_mr",
  1545. "la_k_assign_t",
  1546. "la_k_assign_vc",
  1547. "la_k_assign_vr",
  1548. "la_k_conjugate_mc",
  1549. "la_k_conjugate_mr",
  1550. "la_k_conjugate_vc",
  1551. "la_k_conjugate_vr",
  1552. "la_k_current_f",
  1553. "la_k_current_vr",
  1554. "la_k_distance_vc",
  1555. "la_k_distance_vr",
  1556. "la_k_divide_mc",
  1557. "la_k_divide_mr",
  1558. "la_k_divide_vc",
  1559. "la_k_divide_vr",
  1560. "la_k_dot_mc",
  1561. "la_k_dot_mc_vc",
  1562. "la_k_dot_mr",
  1563. "la_k_dot_mr_vr",
  1564. "la_k_dot_vc",
  1565. "la_k_dot_vr",
  1566. "la_k_f_assign",
  1567. "la_k_get_mc",
  1568. "la_k_get_mr",
  1569. "la_k_get_vc",
  1570. "la_k_get_vr",
  1571. "la_k_invert_mc",
  1572. "la_k_invert_mr",
  1573. "la_k_lower_solve_mc",
  1574. "la_k_lower_solve_mr",
  1575. "la_k_lu_det_mc",
  1576. "la_k_lu_det_mr",
  1577. "la_k_lu_factor_mc",
  1578. "la_k_lu_factor_mr",
  1579. "la_k_lu_solve_mc",
  1580. "la_k_lu_solve_mr",
  1581. "la_k_mc_set",
  1582. "la_k_mr_set",
  1583. "la_k_multiply_mc",
  1584. "la_k_multiply_mr",
  1585. "la_k_multiply_vc",
  1586. "la_k_multiply_vr",
  1587. "la_k_norm1_mc",
  1588. "la_k_norm1_mr",
  1589. "la_k_norm1_vc",
  1590. "la_k_norm1_vr",
  1591. "la_k_norm_euclid_mc",
  1592. "la_k_norm_euclid_mr",
  1593. "la_k_norm_euclid_vc",
  1594. "la_k_norm_euclid_vr",
  1595. "la_k_norm_inf_mc",
  1596. "la_k_norm_inf_mr",
  1597. "la_k_norm_inf_vc",
  1598. "la_k_norm_inf_vr",
  1599. "la_k_norm_max_mc",
  1600. "la_k_norm_max_mr",
  1601. "la_k_qr_eigen_mc",
  1602. "la_k_qr_eigen_mr",
  1603. "la_k_qr_factor_mc",
  1604. "la_k_qr_factor_mr",
  1605. "la_k_qr_sym_eigen_mc",
  1606. "la_k_qr_sym_eigen_mr",
  1607. "la_k_random_mc",
  1608. "la_k_random_mr",
  1609. "la_k_random_vc",
  1610. "la_k_random_vr",
  1611. "la_k_subtract_mc",
  1612. "la_k_subtract_mr",
  1613. "la_k_subtract_vc",
  1614. "la_k_subtract_vr",
  1615. "la_k_t_assign",
  1616. "la_k_trace_mc",
  1617. "la_k_trace_mr",
  1618. "la_k_upper_solve_mc",
  1619. "la_k_upper_solve_mr",
  1620. "la_k_vc_set",
  1621. "la_k_vr_set",
  1622. "lastcycle",
  1623. "lenarray",
  1624. "lfo",
  1625. "limit",
  1626. "limit1",
  1627. "lincos",
  1628. "line",
  1629. "linen",
  1630. "linenr",
  1631. "lineto",
  1632. "link_beat_force",
  1633. "link_beat_get",
  1634. "link_beat_request",
  1635. "link_create",
  1636. "link_enable",
  1637. "link_is_enabled",
  1638. "link_metro",
  1639. "link_peers",
  1640. "link_tempo_get",
  1641. "link_tempo_set",
  1642. "linlin",
  1643. "linrand",
  1644. "linseg",
  1645. "linsegb",
  1646. "linsegr",
  1647. "liveconv",
  1648. "locsend",
  1649. "locsig",
  1650. "log",
  1651. "log10",
  1652. "log2",
  1653. "logbtwo",
  1654. "logcurve",
  1655. "loopseg",
  1656. "loopsegp",
  1657. "looptseg",
  1658. "loopxseg",
  1659. "lorenz",
  1660. "loscil",
  1661. "loscil3",
  1662. "loscil3phs",
  1663. "loscilphs",
  1664. "loscilx",
  1665. "lowpass2",
  1666. "lowres",
  1667. "lowresx",
  1668. "lpf18",
  1669. "lpform",
  1670. "lpfreson",
  1671. "lphasor",
  1672. "lpinterp",
  1673. "lposcil",
  1674. "lposcil3",
  1675. "lposcila",
  1676. "lposcilsa",
  1677. "lposcilsa2",
  1678. "lpread",
  1679. "lpreson",
  1680. "lpshold",
  1681. "lpsholdp",
  1682. "lpslot",
  1683. "lua_exec",
  1684. "lua_iaopcall",
  1685. "lua_iaopcall_off",
  1686. "lua_ikopcall",
  1687. "lua_ikopcall_off",
  1688. "lua_iopcall",
  1689. "lua_iopcall_off",
  1690. "lua_opdef",
  1691. "mac",
  1692. "maca",
  1693. "madsr",
  1694. "mags",
  1695. "mandel",
  1696. "mandol",
  1697. "maparray",
  1698. "maparray_i",
  1699. "marimba",
  1700. "massign",
  1701. "max",
  1702. "max_k",
  1703. "maxabs",
  1704. "maxabsaccum",
  1705. "maxaccum",
  1706. "maxalloc",
  1707. "maxarray",
  1708. "mclock",
  1709. "mdelay",
  1710. "median",
  1711. "mediank",
  1712. "metro",
  1713. "metro2",
  1714. "mfb",
  1715. "midglobal",
  1716. "midiarp",
  1717. "midic14",
  1718. "midic21",
  1719. "midic7",
  1720. "midichannelaftertouch",
  1721. "midichn",
  1722. "midicontrolchange",
  1723. "midictrl",
  1724. "mididefault",
  1725. "midifilestatus",
  1726. "midiin",
  1727. "midinoteoff",
  1728. "midinoteoncps",
  1729. "midinoteonkey",
  1730. "midinoteonoct",
  1731. "midinoteonpch",
  1732. "midion",
  1733. "midion2",
  1734. "midiout",
  1735. "midiout_i",
  1736. "midipgm",
  1737. "midipitchbend",
  1738. "midipolyaftertouch",
  1739. "midiprogramchange",
  1740. "miditempo",
  1741. "midremot",
  1742. "min",
  1743. "minabs",
  1744. "minabsaccum",
  1745. "minaccum",
  1746. "minarray",
  1747. "mincer",
  1748. "mirror",
  1749. "mode",
  1750. "modmatrix",
  1751. "monitor",
  1752. "moog",
  1753. "moogladder",
  1754. "moogladder2",
  1755. "moogvcf",
  1756. "moogvcf2",
  1757. "moscil",
  1758. "mp3bitrate",
  1759. "mp3in",
  1760. "mp3len",
  1761. "mp3nchnls",
  1762. "mp3scal",
  1763. "mp3sr",
  1764. "mpulse",
  1765. "mrtmsg",
  1766. "mtof",
  1767. "mton",
  1768. "multitap",
  1769. "mute",
  1770. "mvchpf",
  1771. "mvclpf1",
  1772. "mvclpf2",
  1773. "mvclpf3",
  1774. "mvclpf4",
  1775. "mxadsr",
  1776. "nchnls_hw",
  1777. "nestedap",
  1778. "nlalp",
  1779. "nlfilt",
  1780. "nlfilt2",
  1781. "noise",
  1782. "noteoff",
  1783. "noteon",
  1784. "noteondur",
  1785. "noteondur2",
  1786. "notnum",
  1787. "nreverb",
  1788. "nrpn",
  1789. "nsamp",
  1790. "nstance",
  1791. "nstrnum",
  1792. "nstrstr",
  1793. "ntof",
  1794. "ntom",
  1795. "ntrpol",
  1796. "nxtpow2",
  1797. "octave",
  1798. "octcps",
  1799. "octmidi",
  1800. "octmidib",
  1801. "octmidinn",
  1802. "octpch",
  1803. "olabuffer",
  1804. "oscbnk",
  1805. "oscil",
  1806. "oscil1",
  1807. "oscil1i",
  1808. "oscil3",
  1809. "oscili",
  1810. "oscilikt",
  1811. "osciliktp",
  1812. "oscilikts",
  1813. "osciln",
  1814. "oscils",
  1815. "oscilx",
  1816. "out",
  1817. "out32",
  1818. "outc",
  1819. "outch",
  1820. "outh",
  1821. "outiat",
  1822. "outic",
  1823. "outic14",
  1824. "outipat",
  1825. "outipb",
  1826. "outipc",
  1827. "outkat",
  1828. "outkc",
  1829. "outkc14",
  1830. "outkpat",
  1831. "outkpb",
  1832. "outkpc",
  1833. "outleta",
  1834. "outletf",
  1835. "outletk",
  1836. "outletkid",
  1837. "outletv",
  1838. "outo",
  1839. "outq",
  1840. "outq1",
  1841. "outq2",
  1842. "outq3",
  1843. "outq4",
  1844. "outrg",
  1845. "outs",
  1846. "outs1",
  1847. "outs2",
  1848. "outvalue",
  1849. "outx",
  1850. "outz",
  1851. "p",
  1852. "p5gconnect",
  1853. "p5gdata",
  1854. "pan",
  1855. "pan2",
  1856. "pareq",
  1857. "part2txt",
  1858. "partials",
  1859. "partikkel",
  1860. "partikkelget",
  1861. "partikkelset",
  1862. "partikkelsync",
  1863. "passign",
  1864. "paulstretch",
  1865. "pcauchy",
  1866. "pchbend",
  1867. "pchmidi",
  1868. "pchmidib",
  1869. "pchmidinn",
  1870. "pchoct",
  1871. "pchtom",
  1872. "pconvolve",
  1873. "pcount",
  1874. "pdclip",
  1875. "pdhalf",
  1876. "pdhalfy",
  1877. "peak",
  1878. "pgmassign",
  1879. "pgmchn",
  1880. "phaser1",
  1881. "phaser2",
  1882. "phasor",
  1883. "phasorbnk",
  1884. "phs",
  1885. "pindex",
  1886. "pinker",
  1887. "pinkish",
  1888. "pitch",
  1889. "pitchac",
  1890. "pitchamdf",
  1891. "planet",
  1892. "platerev",
  1893. "plltrack",
  1894. "pluck",
  1895. "poisson",
  1896. "pol2rect",
  1897. "polyaft",
  1898. "polynomial",
  1899. "port",
  1900. "portk",
  1901. "poscil",
  1902. "poscil3",
  1903. "pow",
  1904. "powershape",
  1905. "powoftwo",
  1906. "pows",
  1907. "prealloc",
  1908. "prepiano",
  1909. "print",
  1910. "print_type",
  1911. "printarray",
  1912. "printf",
  1913. "printf_i",
  1914. "printk",
  1915. "printk2",
  1916. "printks",
  1917. "printks2",
  1918. "prints",
  1919. "product",
  1920. "pset",
  1921. "ptable",
  1922. "ptable3",
  1923. "ptablei",
  1924. "ptablew",
  1925. "ptrack",
  1926. "puts",
  1927. "pvadd",
  1928. "pvbufread",
  1929. "pvcross",
  1930. "pvinterp",
  1931. "pvoc",
  1932. "pvread",
  1933. "pvs2array",
  1934. "pvs2tab",
  1935. "pvsadsyn",
  1936. "pvsanal",
  1937. "pvsarp",
  1938. "pvsbandp",
  1939. "pvsbandr",
  1940. "pvsbin",
  1941. "pvsblur",
  1942. "pvsbuffer",
  1943. "pvsbufread",
  1944. "pvsbufread2",
  1945. "pvscale",
  1946. "pvscent",
  1947. "pvsceps",
  1948. "pvscross",
  1949. "pvsdemix",
  1950. "pvsdiskin",
  1951. "pvsdisp",
  1952. "pvsenvftw",
  1953. "pvsfilter",
  1954. "pvsfread",
  1955. "pvsfreeze",
  1956. "pvsfromarray",
  1957. "pvsftr",
  1958. "pvsftw",
  1959. "pvsfwrite",
  1960. "pvsgain",
  1961. "pvshift",
  1962. "pvsifd",
  1963. "pvsin",
  1964. "pvsinfo",
  1965. "pvsinit",
  1966. "pvslock",
  1967. "pvsmaska",
  1968. "pvsmix",
  1969. "pvsmooth",
  1970. "pvsmorph",
  1971. "pvsosc",
  1972. "pvsout",
  1973. "pvspitch",
  1974. "pvstanal",
  1975. "pvstencil",
  1976. "pvstrace",
  1977. "pvsvoc",
  1978. "pvswarp",
  1979. "pvsynth",
  1980. "pwd",
  1981. "pyassign",
  1982. "pyassigni",
  1983. "pyassignt",
  1984. "pycall",
  1985. "pycall1",
  1986. "pycall1i",
  1987. "pycall1t",
  1988. "pycall2",
  1989. "pycall2i",
  1990. "pycall2t",
  1991. "pycall3",
  1992. "pycall3i",
  1993. "pycall3t",
  1994. "pycall4",
  1995. "pycall4i",
  1996. "pycall4t",
  1997. "pycall5",
  1998. "pycall5i",
  1999. "pycall5t",
  2000. "pycall6",
  2001. "pycall6i",
  2002. "pycall6t",
  2003. "pycall7",
  2004. "pycall7i",
  2005. "pycall7t",
  2006. "pycall8",
  2007. "pycall8i",
  2008. "pycall8t",
  2009. "pycalli",
  2010. "pycalln",
  2011. "pycallni",
  2012. "pycallt",
  2013. "pyeval",
  2014. "pyevali",
  2015. "pyevalt",
  2016. "pyexec",
  2017. "pyexeci",
  2018. "pyexect",
  2019. "pyinit",
  2020. "pylassign",
  2021. "pylassigni",
  2022. "pylassignt",
  2023. "pylcall",
  2024. "pylcall1",
  2025. "pylcall1i",
  2026. "pylcall1t",
  2027. "pylcall2",
  2028. "pylcall2i",
  2029. "pylcall2t",
  2030. "pylcall3",
  2031. "pylcall3i",
  2032. "pylcall3t",
  2033. "pylcall4",
  2034. "pylcall4i",
  2035. "pylcall4t",
  2036. "pylcall5",
  2037. "pylcall5i",
  2038. "pylcall5t",
  2039. "pylcall6",
  2040. "pylcall6i",
  2041. "pylcall6t",
  2042. "pylcall7",
  2043. "pylcall7i",
  2044. "pylcall7t",
  2045. "pylcall8",
  2046. "pylcall8i",
  2047. "pylcall8t",
  2048. "pylcalli",
  2049. "pylcalln",
  2050. "pylcallni",
  2051. "pylcallt",
  2052. "pyleval",
  2053. "pylevali",
  2054. "pylevalt",
  2055. "pylexec",
  2056. "pylexeci",
  2057. "pylexect",
  2058. "pylrun",
  2059. "pylruni",
  2060. "pylrunt",
  2061. "pyrun",
  2062. "pyruni",
  2063. "pyrunt",
  2064. "qinf",
  2065. "qnan",
  2066. "r2c",
  2067. "rand",
  2068. "randc",
  2069. "randh",
  2070. "randi",
  2071. "random",
  2072. "randomh",
  2073. "randomi",
  2074. "rbjeq",
  2075. "readclock",
  2076. "readf",
  2077. "readfi",
  2078. "readk",
  2079. "readk2",
  2080. "readk3",
  2081. "readk4",
  2082. "readks",
  2083. "readscore",
  2084. "readscratch",
  2085. "rect2pol",
  2086. "release",
  2087. "remoteport",
  2088. "remove",
  2089. "repluck",
  2090. "reshapearray",
  2091. "reson",
  2092. "resonk",
  2093. "resonr",
  2094. "resonx",
  2095. "resonxk",
  2096. "resony",
  2097. "resonz",
  2098. "resyn",
  2099. "reverb",
  2100. "reverb2",
  2101. "reverbsc",
  2102. "rewindscore",
  2103. "rezzy",
  2104. "rfft",
  2105. "rifft",
  2106. "rms",
  2107. "rnd",
  2108. "rnd31",
  2109. "round",
  2110. "rspline",
  2111. "rtclock",
  2112. "s16b14",
  2113. "s32b14",
  2114. "samphold",
  2115. "sandpaper",
  2116. "sc_lag",
  2117. "sc_lagud",
  2118. "sc_phasor",
  2119. "sc_trig",
  2120. "scale",
  2121. "scalearray",
  2122. "scanhammer",
  2123. "scans",
  2124. "scantable",
  2125. "scanu",
  2126. "schedkwhen",
  2127. "schedkwhennamed",
  2128. "schedule",
  2129. "schedulek",
  2130. "schedwhen",
  2131. "scoreline",
  2132. "scoreline_i",
  2133. "seed",
  2134. "sekere",
  2135. "select",
  2136. "semitone",
  2137. "sense",
  2138. "sensekey",
  2139. "seqtime",
  2140. "seqtime2",
  2141. "serialBegin",
  2142. "serialEnd",
  2143. "serialFlush",
  2144. "serialPrint",
  2145. "serialRead",
  2146. "serialWrite",
  2147. "serialWrite_i",
  2148. "setcol",
  2149. "setctrl",
  2150. "setksmps",
  2151. "setrow",
  2152. "setscorepos",
  2153. "sfilist",
  2154. "sfinstr",
  2155. "sfinstr3",
  2156. "sfinstr3m",
  2157. "sfinstrm",
  2158. "sfload",
  2159. "sflooper",
  2160. "sfpassign",
  2161. "sfplay",
  2162. "sfplay3",
  2163. "sfplay3m",
  2164. "sfplaym",
  2165. "sfplist",
  2166. "sfpreset",
  2167. "shaker",
  2168. "shiftin",
  2169. "shiftout",
  2170. "signum",
  2171. "sin",
  2172. "sinh",
  2173. "sininv",
  2174. "sinsyn",
  2175. "sleighbells",
  2176. "slicearray",
  2177. "slicearray_i",
  2178. "slider16",
  2179. "slider16f",
  2180. "slider16table",
  2181. "slider16tablef",
  2182. "slider32",
  2183. "slider32f",
  2184. "slider32table",
  2185. "slider32tablef",
  2186. "slider64",
  2187. "slider64f",
  2188. "slider64table",
  2189. "slider64tablef",
  2190. "slider8",
  2191. "slider8f",
  2192. "slider8table",
  2193. "slider8tablef",
  2194. "sliderKawai",
  2195. "sndloop",
  2196. "sndwarp",
  2197. "sndwarpst",
  2198. "sockrecv",
  2199. "sockrecvs",
  2200. "socksend",
  2201. "socksends",
  2202. "sorta",
  2203. "sortd",
  2204. "soundin",
  2205. "space",
  2206. "spat3d",
  2207. "spat3di",
  2208. "spat3dt",
  2209. "spdist",
  2210. "splitrig",
  2211. "sprintf",
  2212. "sprintfk",
  2213. "spsend",
  2214. "sqrt",
  2215. "squinewave",
  2216. "statevar",
  2217. "stix",
  2218. "strcat",
  2219. "strcatk",
  2220. "strchar",
  2221. "strchark",
  2222. "strcmp",
  2223. "strcmpk",
  2224. "strcpy",
  2225. "strcpyk",
  2226. "strecv",
  2227. "streson",
  2228. "strfromurl",
  2229. "strget",
  2230. "strindex",
  2231. "strindexk",
  2232. "string2array",
  2233. "strlen",
  2234. "strlenk",
  2235. "strlower",
  2236. "strlowerk",
  2237. "strrindex",
  2238. "strrindexk",
  2239. "strset",
  2240. "strstrip",
  2241. "strsub",
  2242. "strsubk",
  2243. "strtod",
  2244. "strtodk",
  2245. "strtol",
  2246. "strtolk",
  2247. "strupper",
  2248. "strupperk",
  2249. "stsend",
  2250. "subinstr",
  2251. "subinstrinit",
  2252. "sum",
  2253. "sumarray",
  2254. "svfilter",
  2255. "syncgrain",
  2256. "syncloop",
  2257. "syncphasor",
  2258. "system",
  2259. "system_i",
  2260. "tab",
  2261. "tab2array",
  2262. "tab2pvs",
  2263. "tab_i",
  2264. "tabifd",
  2265. "table",
  2266. "table3",
  2267. "table3kt",
  2268. "tablecopy",
  2269. "tablefilter",
  2270. "tablefilteri",
  2271. "tablegpw",
  2272. "tablei",
  2273. "tableicopy",
  2274. "tableigpw",
  2275. "tableikt",
  2276. "tableimix",
  2277. "tablekt",
  2278. "tablemix",
  2279. "tableng",
  2280. "tablera",
  2281. "tableseg",
  2282. "tableshuffle",
  2283. "tableshufflei",
  2284. "tablew",
  2285. "tablewa",
  2286. "tablewkt",
  2287. "tablexkt",
  2288. "tablexseg",
  2289. "tabmorph",
  2290. "tabmorpha",
  2291. "tabmorphak",
  2292. "tabmorphi",
  2293. "tabplay",
  2294. "tabrec",
  2295. "tabrowlin",
  2296. "tabsum",
  2297. "tabw",
  2298. "tabw_i",
  2299. "tambourine",
  2300. "tan",
  2301. "tanh",
  2302. "taninv",
  2303. "taninv2",
  2304. "tbvcf",
  2305. "tempest",
  2306. "tempo",
  2307. "temposcal",
  2308. "tempoval",
  2309. "timedseq",
  2310. "timeinstk",
  2311. "timeinsts",
  2312. "timek",
  2313. "times",
  2314. "tival",
  2315. "tlineto",
  2316. "tone",
  2317. "tonek",
  2318. "tonex",
  2319. "tradsyn",
  2320. "trandom",
  2321. "transeg",
  2322. "transegb",
  2323. "transegr",
  2324. "trcross",
  2325. "trfilter",
  2326. "trhighest",
  2327. "trigger",
  2328. "trigseq",
  2329. "trim",
  2330. "trim_i",
  2331. "trirand",
  2332. "trlowest",
  2333. "trmix",
  2334. "trscale",
  2335. "trshift",
  2336. "trsplit",
  2337. "turnoff",
  2338. "turnoff2",
  2339. "turnon",
  2340. "tvconv",
  2341. "unirand",
  2342. "unwrap",
  2343. "upsamp",
  2344. "urandom",
  2345. "urd",
  2346. "vactrol",
  2347. "vadd",
  2348. "vadd_i",
  2349. "vaddv",
  2350. "vaddv_i",
  2351. "vaget",
  2352. "valpass",
  2353. "vaset",
  2354. "vbap",
  2355. "vbapg",
  2356. "vbapgmove",
  2357. "vbaplsinit",
  2358. "vbapmove",
  2359. "vbapz",
  2360. "vbapzmove",
  2361. "vcella",
  2362. "vco",
  2363. "vco2",
  2364. "vco2ft",
  2365. "vco2ift",
  2366. "vco2init",
  2367. "vcomb",
  2368. "vcopy",
  2369. "vcopy_i",
  2370. "vdel_k",
  2371. "vdelay",
  2372. "vdelay3",
  2373. "vdelayk",
  2374. "vdelayx",
  2375. "vdelayxq",
  2376. "vdelayxs",
  2377. "vdelayxw",
  2378. "vdelayxwq",
  2379. "vdelayxws",
  2380. "vdivv",
  2381. "vdivv_i",
  2382. "vecdelay",
  2383. "veloc",
  2384. "vexp",
  2385. "vexp_i",
  2386. "vexpseg",
  2387. "vexpv",
  2388. "vexpv_i",
  2389. "vibes",
  2390. "vibr",
  2391. "vibrato",
  2392. "vincr",
  2393. "vlimit",
  2394. "vlinseg",
  2395. "vlowres",
  2396. "vmap",
  2397. "vmirror",
  2398. "vmult",
  2399. "vmult_i",
  2400. "vmultv",
  2401. "vmultv_i",
  2402. "voice",
  2403. "vosim",
  2404. "vphaseseg",
  2405. "vport",
  2406. "vpow",
  2407. "vpow_i",
  2408. "vpowv",
  2409. "vpowv_i",
  2410. "vpvoc",
  2411. "vrandh",
  2412. "vrandi",
  2413. "vsubv",
  2414. "vsubv_i",
  2415. "vtaba",
  2416. "vtabi",
  2417. "vtabk",
  2418. "vtable1k",
  2419. "vtablea",
  2420. "vtablei",
  2421. "vtablek",
  2422. "vtablewa",
  2423. "vtablewi",
  2424. "vtablewk",
  2425. "vtabwa",
  2426. "vtabwi",
  2427. "vtabwk",
  2428. "vwrap",
  2429. "waveset",
  2430. "websocket",
  2431. "weibull",
  2432. "wgbow",
  2433. "wgbowedbar",
  2434. "wgbrass",
  2435. "wgclar",
  2436. "wgflute",
  2437. "wgpluck",
  2438. "wgpluck2",
  2439. "wguide1",
  2440. "wguide2",
  2441. "wiiconnect",
  2442. "wiidata",
  2443. "wiirange",
  2444. "wiisend",
  2445. "window",
  2446. "wrap",
  2447. "writescratch",
  2448. "wterrain",
  2449. "xadsr",
  2450. "xin",
  2451. "xout",
  2452. "xscanmap",
  2453. "xscans",
  2454. "xscansmap",
  2455. "xscanu",
  2456. "xtratim",
  2457. "xyscale",
  2458. "zacl",
  2459. "zakinit",
  2460. "zamod",
  2461. "zar",
  2462. "zarg",
  2463. "zaw",
  2464. "zawm",
  2465. "zdf_1pole",
  2466. "zdf_1pole_mode",
  2467. "zdf_2pole",
  2468. "zdf_2pole_mode",
  2469. "zdf_ladder",
  2470. "zfilter2",
  2471. "zir",
  2472. "ziw",
  2473. "ziwm",
  2474. "zkcl",
  2475. "zkmod",
  2476. "zkr",
  2477. "zkw",
  2478. "zkwm"
  2479. ];
  2480. var deprecatedOpcodes = [
  2481. "array",
  2482. "bformdec",
  2483. "bformenc",
  2484. "changed",
  2485. "copy2ftab",
  2486. "copy2ttab",
  2487. "hrtfer",
  2488. "ktableseg",
  2489. "lentab",
  2490. "maxtab",
  2491. "mintab",
  2492. "pop",
  2493. "pop_f",
  2494. "ptableiw",
  2495. "push",
  2496. "push_f",
  2497. "scalet",
  2498. "sndload",
  2499. "soundout",
  2500. "soundouts",
  2501. "specaddm",
  2502. "specdiff",
  2503. "specdisp",
  2504. "specfilt",
  2505. "spechist",
  2506. "specptrk",
  2507. "specscal",
  2508. "specsum",
  2509. "spectrum",
  2510. "stack",
  2511. "sumtab",
  2512. "tabgen",
  2513. "tableiw",
  2514. "tabmap",
  2515. "tabmap_i",
  2516. "tabslice",
  2517. "tb0",
  2518. "tb0_init",
  2519. "tb1",
  2520. "tb10",
  2521. "tb10_init",
  2522. "tb11",
  2523. "tb11_init",
  2524. "tb12",
  2525. "tb12_init",
  2526. "tb13",
  2527. "tb13_init",
  2528. "tb14",
  2529. "tb14_init",
  2530. "tb15",
  2531. "tb15_init",
  2532. "tb1_init",
  2533. "tb2",
  2534. "tb2_init",
  2535. "tb3",
  2536. "tb3_init",
  2537. "tb4",
  2538. "tb4_init",
  2539. "tb5",
  2540. "tb5_init",
  2541. "tb6",
  2542. "tb6_init",
  2543. "tb7",
  2544. "tb7_init",
  2545. "tb8",
  2546. "tb8_init",
  2547. "tb9",
  2548. "tb9_init",
  2549. "vbap16",
  2550. "vbap4",
  2551. "vbap4move",
  2552. "vbap8",
  2553. "vbap8move",
  2554. "xyin"
  2555. ];
  2556. opcodes = lang.arrayToMap(opcodes);
  2557. deprecatedOpcodes = lang.arrayToMap(deprecatedOpcodes);
  2558. this.lineContinuations = [
  2559. {
  2560. token : "constant.character.escape.line-continuation.csound",
  2561. regex : /\\$/
  2562. }, this.pushRule({
  2563. token : "constant.character.escape.line-continuation.csound",
  2564. regex : /\\/,
  2565. next : "line continuation"
  2566. })
  2567. ];
  2568. this.comments.push(this.lineContinuations);
  2569. this.quotedStringContents.push(
  2570. this.lineContinuations,
  2571. {
  2572. token : "invalid.illegal",
  2573. regex : /[^"\\]*$/
  2574. }
  2575. );
  2576. var start = this.$rules.start;
  2577. start.splice(1, 0, {
  2578. token : ["text.csound", "entity.name.label.csound", "entity.punctuation.label.csound", "text.csound"],
  2579. regex : /^([ \t]*)(\w+)(:)([ \t]+|$)/
  2580. });
  2581. start.push(
  2582. this.pushRule({
  2583. token : "keyword.function.csound",
  2584. regex : /\binstr\b/,
  2585. next : "instrument numbers and identifiers"
  2586. }), this.pushRule({
  2587. token : "keyword.function.csound",
  2588. regex : /\bopcode\b/,
  2589. next : "after opcode keyword"
  2590. }), {
  2591. token : "keyword.other.csound",
  2592. regex : /\bend(?:in|op)\b/
  2593. },
  2594. {
  2595. token : "variable.language.csound",
  2596. regex : /\b(?:0dbfs|A4|k(?:r|smps)|nchnls(?:_i)?|sr)\b/
  2597. },
  2598. this.numbers,
  2599. {
  2600. token : "keyword.operator.csound",
  2601. regex : "\\+=|-=|\\*=|/=|<<|>>|<=|>=|==|!=|&&|\\|\\||[~¬]|[=!+\\-*/^%&|<>#?:]"
  2602. },
  2603. this.pushRule({
  2604. token : "punctuation.definition.string.begin.csound",
  2605. regex : /"/,
  2606. next : "quoted string"
  2607. }), this.pushRule({
  2608. token : "punctuation.definition.string.begin.csound",
  2609. regex : /{{/,
  2610. next : "braced string"
  2611. }),
  2612. {
  2613. token : "keyword.control.csound",
  2614. regex : /\b(?:do|else(?:if)?|end(?:if|until)|fi|i(?:f|then)|kthen|od|r(?:ir)?eturn|then|until|while)\b/
  2615. },
  2616. this.pushRule({
  2617. token : "keyword.control.csound",
  2618. regex : /\b[ik]?goto\b/,
  2619. next : "goto before label"
  2620. }), this.pushRule({
  2621. token : "keyword.control.csound",
  2622. regex : /\b(?:r(?:einit|igoto)|tigoto)\b/,
  2623. next : "goto before label"
  2624. }), this.pushRule({
  2625. token : "keyword.control.csound",
  2626. regex : /\bc(?:g|in?|k|nk?)goto\b/,
  2627. next : ["goto before label", "goto before argument"]
  2628. }), this.pushRule({
  2629. token : "keyword.control.csound",
  2630. regex : /\btimout\b/,
  2631. next : ["goto before label", "goto before argument", "goto before argument"]
  2632. }), this.pushRule({
  2633. token : "keyword.control.csound",
  2634. regex : /\bloop_[gl][et]\b/,
  2635. next : ["goto before label", "goto before argument", "goto before argument", "goto before argument"]
  2636. }),
  2637. this.pushRule({
  2638. token : "support.function.csound",
  2639. regex : /\b(?:readscore|scoreline(?:_i)?)\b/,
  2640. next : "Csound score opcode"
  2641. }), this.pushRule({
  2642. token : "support.function.csound",
  2643. regex : /\bpyl?run[it]?\b(?!$)/,
  2644. next : "Python opcode"
  2645. }), this.pushRule({
  2646. token : "support.function.csound",
  2647. regex : /\blua_(?:exec|opdef)\b(?!$)/,
  2648. next : "Lua opcode"
  2649. }),
  2650. {
  2651. token : "support.variable.csound",
  2652. regex : /\bp\d+\b/
  2653. }, {
  2654. regex : /\b([A-Z_a-z]\w*)(?:(:)([A-Za-z]))?\b/, onMatch: function(value, currentState, stack, line) {
  2655. var tokens = value.split(this.splitRegex);
  2656. var name = tokens[1];
  2657. var type;
  2658. if (opcodes.hasOwnProperty(name))
  2659. type = "support.function.csound";
  2660. else if (deprecatedOpcodes.hasOwnProperty(name))
  2661. type = "invalid.deprecated.csound";
  2662. if (type) {
  2663. if (tokens[2]) {
  2664. return [
  2665. {type: type, value: name},
  2666. {type: "punctuation.type-annotation.csound", value: tokens[2]},
  2667. {type: "type-annotation.storage.type.csound", value: tokens[3]}
  2668. ];
  2669. }
  2670. return type;
  2671. }
  2672. return "text.csound";
  2673. }
  2674. }
  2675. );
  2676. this.$rules["macro parameter value list"].splice(2, 0, {
  2677. token : "punctuation.definition.string.begin.csound",
  2678. regex : /{{/,
  2679. next : "macro parameter value braced string"
  2680. });
  2681. var scoreHighlightRules = new CsoundScoreHighlightRules("csound-score-");
  2682. this.addRules({
  2683. "macro parameter value braced string": [
  2684. {
  2685. token : "constant.character.escape.csound",
  2686. regex : /\\[#'()]/
  2687. }, {
  2688. token : "invalid.illegal.csound.csound",
  2689. regex : /[#'()]/
  2690. }, {
  2691. token : "punctuation.definition.string.end.csound",
  2692. regex : /}}/,
  2693. next : "macro parameter value list"
  2694. }, {
  2695. defaultToken: "string.braced.csound"
  2696. }
  2697. ],
  2698. "instrument numbers and identifiers": [
  2699. this.comments,
  2700. {
  2701. token : "entity.name.function.csound",
  2702. regex : /\d+|[A-Z_a-z]\w*/
  2703. }, this.popRule({
  2704. token : "empty",
  2705. regex : /$/
  2706. })
  2707. ],
  2708. "after opcode keyword": [
  2709. this.comments,
  2710. this.popRule({
  2711. token : "empty",
  2712. regex : /$/
  2713. }), this.popRule({
  2714. token : "entity.name.function.opcode.csound",
  2715. regex : /[A-Z_a-z]\w*/,
  2716. next : "opcode type signatures"
  2717. })
  2718. ],
  2719. "opcode type signatures": [
  2720. this.comments,
  2721. this.popRule({
  2722. token : "empty",
  2723. regex : /$/
  2724. }), {
  2725. token : "storage.type.csound",
  2726. regex : /\b(?:0|[afijkKoOpPStV\[\]]+)/
  2727. }
  2728. ],
  2729. "quoted string": [
  2730. this.popRule({
  2731. token : "punctuation.definition.string.end.csound",
  2732. regex : /"/
  2733. }),
  2734. this.quotedStringContents,
  2735. {
  2736. defaultToken: "string.quoted.csound"
  2737. }
  2738. ],
  2739. "braced string": [
  2740. this.popRule({
  2741. token : "punctuation.definition.string.end.csound",
  2742. regex : /}}/
  2743. }),
  2744. this.bracedStringContents,
  2745. {
  2746. defaultToken: "string.braced.csound"
  2747. }
  2748. ],
  2749. "goto before argument": [
  2750. this.popRule({
  2751. token : "text.csound",
  2752. regex : /,/
  2753. }),
  2754. start
  2755. ],
  2756. "goto before label": [
  2757. {
  2758. token : "text.csound",
  2759. regex : /\s+/
  2760. },
  2761. this.comments,
  2762. this.popRule({
  2763. token : "entity.name.label.csound",
  2764. regex : /\w+/
  2765. }), this.popRule({
  2766. token : "empty",
  2767. regex : /(?!\w)/
  2768. })
  2769. ],
  2770. "Csound score opcode": [
  2771. this.comments,
  2772. {
  2773. token : "punctuation.definition.string.begin.csound",
  2774. regex : /{{/,
  2775. next : scoreHighlightRules.embeddedRulePrefix + "start"
  2776. }, this.popRule({
  2777. token : "empty",
  2778. regex : /$/
  2779. })
  2780. ],
  2781. "Python opcode": [
  2782. this.comments,
  2783. {
  2784. token : "punctuation.definition.string.begin.csound",
  2785. regex : /{{/,
  2786. next : "python-start"
  2787. }, this.popRule({
  2788. token : "empty",
  2789. regex : /$/
  2790. })
  2791. ],
  2792. "Lua opcode": [
  2793. this.comments,
  2794. {
  2795. token : "punctuation.definition.string.begin.csound",
  2796. regex : /{{/,
  2797. next : "lua-start"
  2798. }, this.popRule({
  2799. token : "empty",
  2800. regex : /$/
  2801. })
  2802. ],
  2803. "line continuation": [
  2804. this.popRule({
  2805. token : "empty",
  2806. regex : /$/
  2807. }),
  2808. this.semicolonComments,
  2809. {
  2810. token : "invalid.illegal.csound",
  2811. regex : /\S.*/
  2812. }
  2813. ]
  2814. });
  2815. var rules = [
  2816. this.popRule({
  2817. token : "punctuation.definition.string.end.csound",
  2818. regex : /}}/
  2819. })
  2820. ];
  2821. this.embedRules(scoreHighlightRules.getRules(), scoreHighlightRules.embeddedRulePrefix, rules);
  2822. this.embedRules(PythonHighlightRules, "python-", rules);
  2823. this.embedRules(LuaHighlightRules, "lua-", rules);
  2824. this.normalizeRules();
  2825. };
  2826. oop.inherits(CsoundOrchestraHighlightRules, CsoundPreprocessorHighlightRules);
  2827. exports.CsoundOrchestraHighlightRules = CsoundOrchestraHighlightRules;
  2828. });
  2829. define("ace/mode/csound_orchestra",["ace_require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/csound_orchestra_highlight_rules"], function(ace_require, exports, module) {
  2830. "use strict";
  2831. var oop = ace_require("../lib/oop");
  2832. var TextMode = ace_require("./text").Mode;
  2833. var CsoundOrchestraHighlightRules = ace_require("./csound_orchestra_highlight_rules").CsoundOrchestraHighlightRules;
  2834. var Mode = function() {
  2835. this.HighlightRules = CsoundOrchestraHighlightRules;
  2836. };
  2837. oop.inherits(Mode, TextMode);
  2838. (function() {
  2839. this.lineCommentStart = ";";
  2840. this.blockComment = {start: "/*", end: "*/"};
  2841. this.$id = "ace/mode/csound_orchestra";
  2842. this.snippetFileId = "ace/snippets/csound_orchestra";
  2843. }).call(Mode.prototype);
  2844. exports.Mode = Mode;
  2845. }); (function() {
  2846. window.ace_require(["ace/mode/csound_orchestra"], function(m) {
  2847. if (typeof module == "object" && typeof exports == "object" && module) {
  2848. module.exports = m;
  2849. }
  2850. });
  2851. })();