[chuck-users] list of keywords for syntax coloring
Spencer Salazar
ssalazar at princeton.edu
Fri Jul 21 10:40:25 EDT 2006
Hey there!
check out these links for more info:
http://chuck.cs.princeton.edu/doc/language/overview.html#reserve
http://chuck.cs.princeton.edu/doc/program/ugen.html
also, there are a few random built-in classes:
Event Object Shred UGen string MidiMsg MidiIn MidiOut OscRecv OscSend
OscEvent HidIn HidMsg KBHit
(might be forgetting a few)
and built-in functions:
http://chuck.cs.princeton.edu/doc/program/stdlib.html
(And yes, presently, miniAudicle only highlights reserved words,
strings, numbers, and comments, not ugens/classes/functions.)
spencer
On Jul 21, 2006, at 10:18 AM, jesús gollonet wrote:
>
> --
> Thanks very much.
>
> In fact, i was just having a look at your excellent oscsurface to see
> how you were doing it :)
>
> i was thinking of differentiating a little more:
>
> - keywords (datatypes, reserverd words, control structures...)
> - ugens (sound related classes... adc, dac, Sitar, ...)
> - methods (freq, noteOn...)
>
> As far as i see both your program and the miniaudicle (in the
> screenshots) highlight keywords, numbers, strings and comments...
> i think it makes sense (at least from a pedagogical point of view) to
> differentiate, for example, sound generating devices from plain
> programming keywords so i needed a more exhaustive list.
>
> perhaps i'll end up with a messy rainbow... let me know what you
> think.
>
> Anyway, I'm almost done with it, just wanted to double check
>
> I'll publish it soon and we'll see.
>
> Thanks a lot, jörg
>
> Best!
> --
> jesús gollonet
> http://www.jesusgollonet.com/blog/
>
>> here it is:
>>
>> int float time dur void same
>> if else while until for break continue return switch
>> class extends public static pure this super interface implements
>> protected private
>> function fun spork const new
>> now true false maybe null NULL me pi
>> samp ms second minute hour day week
>> dac adc blackhole
>> dac adc blackhole gain noise impulse step halfrect fullrect
>> zerox delayp sndbuf
>> phasor sinosc pulseosc sqrosc triosc sawosc netout netin
>> mix2 pan2
>> StkInstrument BandedWG BlowBotl BlowHole Bowed Brass Clarinet
>> Flute Mandolin ModalBar
>> Moog Saxofony Shakers Sitar StifKarp VoicForm FM BeeThree
>> FMVoices HevyMetl PercFlut
>> Rhodey TubeBell Wurley Delay DelayA DelayL Echo Envelope ADSR
>> BiQuad Filter OnePole
>> TwoPole OneZero TwoZero PoleZero JCRev NRev PRCRev Chorus
>> Modulate PitShift SubNoise
>> WvIn WaveLoop WvOut
>>
>>
>> ----
>>
>> best
>> jörg
>>
>> Your Name wrote:
>>> Hi, chuckers.
>>>
>>> I've recently began chucking again. By now I use http://
>>> www.jedit.org as
>>> my all-purpose editor, and I've seen it as a good fit for chuck
>>> (configurable syntax highlighting, abbreviations which make typing
>>> faster, command-line integration...).
>>>
>>> I'm working on an edit mode for it to enable syntax coloring and,
>>> as I
>>> 've seen that now the miniAudicle features it, I'd like to be as
>>> consistent as I could with the way it treats keywords, ugens,
>>> constants
>>> and everything, ...
>>>
>>> So I was wondering if there is a list of keywords or something
>>> which i
>>> could take advantage of (at the moment i'm just copying from the
>>> reference and adding format up to me). I haven't found anything
>>> in the
>>> wiki...
>>>
>>> Thanks a lot.
>>>
>>
>>
>> --
>> http://joerg.piringer.net
>> http://www.transacoustic-research.com
>> http://www.iftaf.org
>> http://www.vegetableorchestra.org/
>> _______________________________________________
>> chuck-users mailing list
>> chuck-users at lists.cs.princeton.edu
>> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>>
>>
>
> --
>
>
>> here it is:
>>
>> int float time dur void same
>> if else while until for break continue return switch
>> class extends public static pure this super interface implements
>> protected private
>> function fun spork const new
>> now true false maybe null NULL me pi
>> samp ms second minute hour day week
>> dac adc blackhole
>> dac adc blackhole gain noise impulse step halfrect fullrect
>> zerox delayp sndbuf
>> phasor sinosc pulseosc sqrosc triosc sawosc netout netin
>> mix2 pan2
>> StkInstrument BandedWG BlowBotl BlowHole Bowed Brass Clarinet
>> Flute Mandolin ModalBar
>> Moog Saxofony Shakers Sitar StifKarp VoicForm FM BeeThree
>> FMVoices HevyMetl PercFlut
>> Rhodey TubeBell Wurley Delay DelayA DelayL Echo Envelope ADSR
>> BiQuad Filter OnePole
>> TwoPole OneZero TwoZero PoleZero JCRev NRev PRCRev Chorus
>> Modulate PitShift SubNoise
>> WvIn WaveLoop WvOut
>>
>>
>> ----
>>
>> best
>> jörg
>>
>> Your Name wrote:
>>> Hi, chuckers.
>>>
>>> I've recently began chucking again. By now I use http://
>>> www.jedit.org as
>>> my all-purpose editor, and I've seen it as a good fit for chuck
>>> (configurable syntax highlighting, abbreviations which make typing
>>> faster, command-line integration...).
>>>
>>> I'm working on an edit mode for it to enable syntax coloring and,
>>> as I
>>> 've seen that now the miniAudicle features it, I'd like to be as
>>> consistent as I could with the way it treats keywords, ugens,
>>> constants
>>> and everything, ...
>>>
>>> So I was wondering if there is a list of keywords or something
>>> which i
>>> could take advantage of (at the moment i'm just copying from the
>>> reference and adding format up to me). I haven't found anything
>>> in the
>>> wiki...
>>>
>>> Thanks a lot.
>>>
>>
>>
>> --
>> http://joerg.piringer.net
>> http://www.transacoustic-research.com
>> http://www.iftaf.org
>> http://www.vegetableorchestra.org/
>> _______________________________________________
>> chuck-users mailing list
>> chuck-users at lists.cs.princeton.edu
>> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>>
>>
>
> --
>
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
More information about the chuck-users
mailing list