Rename interpretor to interpreter.
[Faustine.git] / interpretor / preprocessor / faust-0.9.47mr3 / syntax-highlighting / codepress / faust.js
diff --git a/interpretor/preprocessor/faust-0.9.47mr3/syntax-highlighting/codepress/faust.js b/interpretor/preprocessor/faust-0.9.47mr3/syntax-highlighting/codepress/faust.js
deleted file mode 100755 (executable)
index 498801f..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-/*\r
- * CodePress regular expressions for Faust syntax highlighting (derived from Java)\r
- */\r
\r
-// Faust\r
-Language.syntax = [\r
-       { input : /\"(.*?)(\"|<br>|<\/P>)/g, output : '<s>"$1$2</s>'}, // strings double quote\r
-    { input : /\b(component|library|environment|mem|prefix|int|float|rdtable|rwtable|select2|select3|ffunction|fconstant|fvariable|button|checkbox|vslider|hslider|nentry|vbargraph|hbargraph|attach|acos|asin|atan|atan2|cos|sin|tan|exp|log|log10|pow|sqrt|abs|min|max|fmod|remainder|floor|ceil|rint)\b/g, output : '<b>$1</b>'},\r
-    { input : /\b(process|with|case|seq|par|sum|prod|import|vgroup|hgroup|tgroup|declare)\b/g, output : '<u>$1</u>'},\r
-    { input : /(&lt;:|:&gt;|,|:)/g, output : '<al>$1</al>'},\r
-    { input : /(~)/g, output : '<al>$1</al>'},\r
-    { input : /([^:]|^)\/\/(.*?)(<br|<\/P)/g, output : '$1<i>//$2</i>$3'}, // comments //\r
-       { input : /\/\*(.*?)\*\//g, output : '<i>/*$1*/</i>' } // comments /* */\r
-]\r
-\r
-\r
-\r
-Language.snippets = [\r
-    // program and definitions\r
-    { input : 'pr', output : 'process = $0;' },\r
-    { input : 'im', output : 'import("$0.lib");' },\r
-    { input : 'co', output : 'component("$0.dsp")' },\r
-    { input : 'li', output : 'library("$0.dsp")' },\r
-    { input : 'en', output : 'environment {$0}' },\r
-    { input : 'wi', output : 'with {$0}' },\r
-\r
-    // pattern matching\r
-    { input : 'ca', output : 'case {$0}' },\r
-    { input : 'ru', output : '($0) => ...;' },\r
-    \r
-    // declaration\r
-    { input : 'de', output : 'declare $0 \t"";' },\r
-    { input : 'dn', output : 'declare name "$0";' },\r
-    { input : 'da', output : 'declare author "$0";' },\r
-    { input : 'dl', output : 'declare license "$0";' },\r
-    { input : 'dv', output : 'declare version "$0";' },\r
-\r
-    // user interface\r
-    { input : 'bu', output : 'button("$0")' },\r
-    { input : 'ch', output : 'checkbox("$0")' },\r
-\r
-    { input : 'hs', output : 'hslider("$0", 50, 0, 100, 0.1)' },\r
-    { input : 'vs', output : 'vslider("$0", 50, 0, 100, 0.1)' },\r
-    { input : 'ne', output : 'nentry ("$0", 50, 0, 100, 0.1)' },\r
-\r
-    { input : 'hb', output : 'hbargraph("$0", 0, 100)' },\r
-    { input : 'vb', output : 'vbargraph("$0", 0, 100)' },\r
-\r
-    { input : 'vg', output : 'vgroup("$0", ...)' },\r
-    { input : 'hg', output : 'hgroup("$0", ...)' },\r
-    { input : 'tg', output : 'tgroup("$0", ...)' },\r
-\r
-    // iterations\r
-    { input : 'pa', output : 'par(i, $0, ...)' },\r
-    { input : 'su', output : 'sum(i, $0, ...)' },\r
-    { input : 'se', output : 'seq(i, $0, ...)' },\r
-    { input : 'mu', output : 'prod(i, $0, ...)' },\r
-\r
-]\r
-\r
-Language.complete = [\r
-       { input : '\'',output : '\'$0\'' },\r
-       { input : '"', output : '"$0"' },\r
-       { input : '(', output : '\($0\)' },\r
-       { input : '[', output : '\[$0\]' },\r
-       { input : '{', output : '{\n\t$0\n}' }          \r
-]\r
-\r
-Language.shortcuts = []\r