rosejn / overtone

programmable music
http://rosejn.github.com/overtone/
Other
173 stars 1 forks source link

SC-lang parser #5

Closed pepijndevos closed 13 years ago

pepijndevos commented 13 years ago

Hi Jefn, (I missed my comma, okay?)

This is it for now. It takes all the basic stuff I throw at it.

(macroexpand-1 '(sc "2 * SinOsc.ar(200 + 240, add: SinOsc.ar(100 + 100 + 100)")) (do (* 2 (+ (sin-osc:ar (+ 200 240)) (sin-osc:ar (+ (+ 100 100) 100)))))

I didn't implement assignment and anything including square brackets, but everything else works as far as I know. Pleas fire!

Pepijn

rosejn commented 13 years ago

Great. I'm at work now but I'll pull it and find somewhere to include it in Overtone over the weekend. Thanks for working on this, it might help bring in more people from SC if they can come with their synth libraries.

rosejn commented 13 years ago

Thanks, this is very cool. It's merged.

pepijndevos commented 13 years ago

Awesome!