Mercurial > vim
annotate runtime/syntax/chuck.vim @ 35784:43ea277664a6
Added tag v9.1.0613 for changeset 9dd6970e4bdf127bee6f35932e8926ac771024a9
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 24 Jul 2024 21:45:04 +0200 |
parents | 6cf1bb481903 |
children |
rev | line source |
---|---|
34173
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 " Vim syntax file |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 " Language: ChucK |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 " Maintainer: Andrea Callea |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 " URL: https://github.com/gacallea/chuck.vim |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 " Last Change: 2024 Jan 21 by Andrea Callea |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
7 " Sources used for this syntax |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
8 " https://chuck.cs.princeton.edu/doc/language/ |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 " https://chuck.cs.princeton.edu/doc/reference/ |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
10 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
11 " HISTORY: |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
12 " 2024 Jan 21 - Initial revision |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
13 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
14 " quit when a syntax file was already loaded |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
15 if exists("b:current_syntax") |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
16 finish |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
17 endif |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
18 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
19 " https://chuck.cs.princeton.edu/doc/language/type.html |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
20 syn keyword chuckPrimitiveType int float time dur void vec3 vec4 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
21 syn keyword chuckComplexType complex polar |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
22 syn keyword chuckReferenceType Object Event UGen array string |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
23 syn keyword chuckBoolean true false maybe |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
24 syn keyword chuckBoolean null NULL |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
25 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
26 " https://chuck.cs.princeton.edu/doc/language/oper.html |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
27 syn match chuckOperator "=>" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
28 syn match chuckOperator "@=>" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
29 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
30 syn match chuckOperator "=^" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
31 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
32 syn match chuckOperator "+" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
33 syn match chuckOperator "-" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
34 syn match chuckOperator "*" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
35 syn match chuckOperator "/" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
36 syn match chuckOperator "%" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
37 syn match chuckOperator "!" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
38 syn match chuckOperator "&" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
39 syn match chuckOperator "|" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
40 syn match chuckOperator "\^" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
41 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
42 syn match chuckOperator "+=>" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
43 syn match chuckOperator "-=>" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
44 syn match chuckOperator "*=>" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
45 syn match chuckOperator "/=>" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
46 syn match chuckOperator "%=>" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
47 syn match chuckOperator "!=>" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
48 syn match chuckOperator "&=>" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
49 syn match chuckOperator "|=>" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
50 syn match chuckOperator "\^=>" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
51 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
52 syn match chuckOperator "&&" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
53 syn match chuckOperator "||" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
54 syn match chuckOperator "==" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
55 syn match chuckOperator "!=" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
56 syn match chuckOperator ">" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
57 syn match chuckOperator ">=" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
58 syn match chuckOperator "<" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
59 syn match chuckOperator "<=" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
60 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
61 syn match chuckOperator ">>" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
62 syn match chuckOperator "<<" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
63 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
64 syn match chuckOperator "++" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
65 syn match chuckOperator "--" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
66 syn match chuckOperator "<<<" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
67 syn match chuckOperator ">>>" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
68 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
69 syn keyword chuckOperator new |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
70 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
71 " https://chuck.cs.princeton.edu/doc/language/ctrl.html |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
72 syn keyword chuckConditional if else |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
73 syn keyword chuckRepeat while do until for each |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
74 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
75 " https://chuck.cs.princeton.edu/doc/language/time.html |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
76 syn keyword chuckTimeAndDuration samp ms second minute hour day week |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
77 syn keyword chuckTimeAndDuration now later |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
78 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
79 " these may need some additional keywords I missed, for a future revision |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
80 syn keyword chuckKeyword dac adc |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
81 syn keyword chuckKeyword fun function |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
82 syn keyword chuckKeyword return |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
83 syn keyword chuckKeyword const |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
84 syn match chuckKeyword "@" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
85 syn keyword chuckKeyword pi |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
86 syn keyword chuckKeyword me |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
87 syn keyword chuckKeyword repeat break continue |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
88 syn keyword chuckKeyword class extends public private static pure this |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
89 syn keyword chuckKeyword spork |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
90 syn keyword chuckKeyword cherr chout |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
91 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
92 " https://chuck.cs.princeton.edu/doc/reference/ |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
93 syn keyword chuckBaseClasses Shred Math Machine Std |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
94 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
95 " https://chuck.cs.princeton.edu/doc/reference/ |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
96 syn keyword chuckBasicUGen Gain Impulse Step SndBuf SndBuf2 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
97 syn keyword chuckBasicUGen ADSR Envelope Delay DelayL DelayA Echo |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
98 syn keyword chuckBasicUGen Noise CNoise Osc SinOsc TriOsc SawOsc PulseOsc SqrOsc |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
99 syn keyword chuckBasicUGen Phasor HalfRect FullRect |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
100 syn keyword chuckBasicUGen Chugraph Chugen UGen_Multi UGen_Stereo Mix2 Pan2 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
101 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
102 " https://chuck.cs.princeton.edu/doc/reference/ |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
103 syn keyword chuckFilterUGen FilterBasic LPF HPF BPF BRF BiQuad ResonZ |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
104 syn keyword chuckFilterUGen OnePole OneZero TwoPole TwoZero PoleZero |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
105 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
106 " https://chuck.cs.princeton.edu/doc/reference/ |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
107 syn keyword chuckSTKUGen JCRev NRev PRCRev |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
108 syn keyword chuckSTKUGen Chorus Modulate PitShift SubNoise |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
109 syn keyword chuckSTKUGen BLT Blit BlitSaw BlitSquare FilterStk |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
110 syn keyword chuckSTKUGen WvIn WaveLoop WvOut WvOut2 StkInstrument |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
111 syn keyword chuckSTKUGen BandedWG BlowBotl BlowHole |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
112 syn keyword chuckSTKUGen Bowed Brass Clarinet Flute Mandolin |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
113 syn keyword chuckSTKUGen ModalBar Moog Saxofony Shakers Sitar StifKarp |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
114 syn keyword chuckSTKUGen VoicForm KrstlChr FM BeeThree FMVoices |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
115 syn keyword chuckSTKUGen HevyMetl HnkyTonk FrencHrn PercFlut Rhodey TubeBell Wurley |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
116 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
117 " https://chuck.cs.princeton.edu/doc/reference/ |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
118 syn keyword chuckAdvancedUGen LiSa LiSa2 LiSa6 LiSa8 LiSa10 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
119 syn keyword chuckAdvancedUGen LiSa16 GenX Gen5 Gen7 Gen9 Gen10 Gen17 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
120 syn keyword chuckAdvancedUGen CurveTable WarpTable Dyno |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
121 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
122 " https://chuck.cs.princeton.edu/doc/reference/ |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
123 syn keyword chuckChugin ABSaturator AmbPan3 Bitcrusher Elliptic ExpDelay ExpEnv FIR |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
124 syn keyword chuckChugin FoldbackSaturator GVerb KasFilter MagicSine Mesh2D |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
125 syn keyword chuckChugin Multicomb Pan4 Pan8 Pan16 PitchTrack PowerADSR RegEx |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
126 syn keyword chuckChugin Sigmund Spectacle WinFuncEnv WPDiodeLadder WPKorg35 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
127 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
128 " https://chuck.cs.princeton.edu/doc/reference/ |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
129 syn keyword chuckUnitAnalyzer UAna UAnaBlob Windowing |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
130 syn keyword chuckUnitAnalyzer FFT IFFT DCT IDCT |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
131 syn keyword chuckUnitAnalyzer Centroid Flux RMS RollOff |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
132 syn keyword chuckUnitAnalyzer Flip UnFlip XCorr |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
133 syn keyword chuckUnitAnalyzer Chroma Kurtosis MFCC SFM ZeroX AutoCorr FeatureCollector |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
134 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
135 " https://chuck.cs.princeton.edu/doc/reference/ |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
136 syn keyword chuckChAI MLP KNN KNN2 HMM SVM Word2Vec PCA Wekinator AI |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
137 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
138 " https://chuck.cs.princeton.edu/doc/reference/ |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
139 syn keyword chuckInputOutput IO FileIO OscIn OscOut OscMsg |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
140 syn keyword chuckInputOutput Hid HidMsg KBHit SerialIO |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
141 syn keyword chuckInputOutput MidiIn MidiOut MidiMsg MidiFileIn |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
142 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
143 " https://chuck.cs.princeton.edu/doc/reference/ |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
144 syn keyword chuckUtilities CKDoc StringTokenizer ConsoleInput |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
145 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
146 " https://github.com/wilsaj/chuck.vim/blob/master/syntax/chuck.vim |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
147 syn match chuckNumber /\%(\i\|\$\)\@<![-]\?\d\+/ display |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
148 syn match chuckHex /\<0[xX]\x\+[lL]\=\>/ display |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
149 syn match chuckFloat /\%(\i\|\$\)\@<![-]\?\%(\d*\.\d\+\|\d\+\.\)/ display |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
150 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
151 " this may need fixing/improvements |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
152 syn match chuckComment "//.*$" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
153 syn region chuckComment start="/\*" end="\*/" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
154 syn match chuckSpecialChar contained "\\n" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
155 syn match chuckSpecialChar contained "\\t" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
156 syn match chuckSpecialChar contained "\\a" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
157 syn match chuckSpecialChar contained /\\"/ |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
158 syn match chuckSpecialChar contained "\\0" |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
159 syn region chuckString start=/"/ end=/"/ display contains=chuckSpecialChar |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
160 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
161 hi def link chuckPrimitiveType Type |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
162 hi def link chuckComplexType Type |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
163 hi def link chuckReferenceType Type |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
164 hi def link chuckBoolean Boolean |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
165 hi def link chuckOperator Operator |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
166 hi def link chuckConditional Conditional |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
167 hi def link chuckRepeat Repeat |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
168 hi def link chuckTimeAndDuration Keyword |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
169 hi def link chuckKeyword Keyword |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
170 hi def link chuckBaseClasses Special |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
171 hi def link chuckBasicUGen Structure |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
172 hi def link chuckFilterUGen Structure |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
173 hi def link chuckSTKUGen Structure |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
174 hi def link chuckAdvancedUGen Structure |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
175 hi def link chuckChugin Structure |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
176 hi def link chuckUnitAnalyzer Structure |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
177 hi def link chuckChAI Structure |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
178 hi def link chuckInputOutput Special |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
179 hi def link chuckUtilities Special |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
180 hi def link chuckNumber Number |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
181 hi def link chuckHex Number |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
182 hi def link chuckFloat Float |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
183 hi def link chuckComment Comment |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
184 hi def link chuckSpecialChar SpecialChar |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
185 hi def link chuckString String |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
186 |
6cf1bb481903
runtime(chuck): include ChucK syntax file (#13895)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
187 let b:current_syntax = "chuck" |