tildebyte / ChucK-plugin-for-ST3

A Sublime Text 3 plugin for ChucK (http://chuck.cs.princeton.edu).
19 stars 2 forks source link

"Hidden" shell mode for chuck server could be used for IPC #6

Open tildebyte opened 10 years ago

tildebyte commented 10 years ago

"chuck --shell" runs ChucK and leave you at a "chuck %>" prompt. "+ chuck.ck" does exactly what one would expect - plays the file.

zeffii commented 10 years ago

awesome! ..where did you find this?

tildebyte commented 10 years ago

It's actually "documented", but like so much with ChucK, you have to read between the lines extremely carefully. http://chuck.cs.princeton.edu/doc/program/vm.html Both "--shell" and "--server" are listed there, along with a number of other interesting things, BUT, again, as usual with ChucK, there's no mention of what these things DO. I just screwed around with "shell" a bit to see what it does...

zeffii commented 10 years ago

Right, I see it now! I think we'll have this working ( add shred, replace, drop ) in a short space of time!

I started (doesn't work yet) https://gist.github.com/zeffii/7410984 earlier today, this abstracts away the sublime plugin architecture part. The difference between py2 and py3 is very minimal, the issue is going to be threading.

It's going to happen.

tildebyte commented 10 years ago

Awesome.