|
View:
New views
14 Messages
—
Rating Filter:
Alert me
|
|
|
OT "supercollider"-mode for python?Hello,
I find the sc-way of developing (select text, send it to the language) very useful, esp. for JIT programming. As I am now also developing in python, I wondered if anyone knows a way to do so in a proper way with python, too… Using TextMate for developing btw. cheers and a happy day :-) Till _______________________________________________ sc-users mailing list info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml archive: http://www.listarc.bham.ac.uk/marchives/sc-users/ search: http://www.listarc.bham.ac.uk/lists/sc-users/search/ |
|
|
Re: OT "supercollider"-mode for python?I read:
> I find the sc-way of developing (select text, send it to the language) > very useful, esp. for JIT programming. > As I am now also developing in python, I wondered if anyone knows a way > to do so in a proper way with python, too… emacs' python mode does that, no idea about textmate though HTH x -- chris@... Postmodernism is german romanticism with better http://pilot.fm/ special effects. (Jeff Keuss / via ctheory.net) _______________________________________________ sc-users mailing list info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml archive: http://www.listarc.bham.ac.uk/marchives/sc-users/ search: http://www.listarc.bham.ac.uk/lists/sc-users/search/ |
|
|
Re: OT "supercollider"-mode for python?but you won't have the memory space of a normal interactive scripting language. you have only the normal python shell.
there is iPython, a better shell: and you can easily drag or copy and paste text from a text document into your terminal.
and with applescript you can do anything :) On Sun, Apr 12, 2009 at 7:49 PM, Till Bovermann <tboverma@...> wrote: Hello, |
|
|
Re: OT "supercollider"-mode for python?On 12.04.2009, at 20:16, felix wrote: > > there's Execute line/selection as Python > > but you won't have the memory space of a normal interactive > scripting language. Well, that's where the fun begins > > you have only the normal python shell. > > there is iPython, a better shell: > http://ipython.scipy.org/ also not an option, at least because I did not get it to work properly > and you can easily drag or copy and paste text from a text document > into your terminal. hmmm, not that convenient… > > and with applescript you can do anything :) I cannot do anything with applescript… Chris: Thanx, unfortunately, emacs is not an option, because in my 6 years of os x usage I, unfortunately, did not get emacs to work properly… perhaps it's time to give it a go again, though. cheers Till _______________________________________________ sc-users mailing list info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml archive: http://www.listarc.bham.ac.uk/marchives/sc-users/ search: http://www.listarc.bham.ac.uk/lists/sc-users/search/ |
|
|
Re: OT "supercollider"-mode for python?Don't know how well it works, but vim has a python interpreter built in.
-- Renick Bell http://the3rd2nd.com _______________________________________________ sc-users mailing list info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml archive: http://www.listarc.bham.ac.uk/marchives/sc-users/ search: http://www.listarc.bham.ac.uk/lists/sc-users/search/ |
|
|
Re: OT "supercollider"-mode for python?Hi Till,
I've built a small tool - sc3ctrl - which might help you. It allows control of SuperCollider.app from the command line, via Open Sound Control messages. You should also check out my SuperCollider bundle for TextMate, which uses sc3ctrl internally for most of its functionality. Both are available at http://github.com/rfwatson. cheers, Rob 2009/4/12 Till Bovermann <tboverma@...> Hello, |
|
|
Re: OT "supercollider"-mode for python?Hey,
I was't aware of that you control supercollider via OSC… that's kindof cool and weird at the same time… Will look into it. Does it has some kind of, well, security builtin? just curious… your textmate bundle Rocks, btw.! @Renrick: Thanx for that vim comment. I am in the happy position to know how to exit vim without breaking code (esc:q!, btw… for those interested), and that's pretty much all my vim experience so far… So, does this mean I have to build an interactive python shell the supercollider-way by myself, and no-one ever has done this before? JmC, you should definitely sell that idea of the interactive editor, then! (but it was part of smalltalk-derivatives, before, i guess… :-) regards and thanx for thoughts and insights Till On 14.04.2009, at 11:32, Rob Watson wrote: > Hi Till, > > I've built a small tool - sc3ctrl - which might help you. It allows > control of SuperCollider.app from the command line, via Open Sound > Control messages. > > You should also check out my SuperCollider bundle for TextMate, > which uses sc3ctrl internally for most of its functionality. > > Both are available at http://github.com/rfwatson. > > cheers, > Rob > > > > 2009/4/12 Till Bovermann <tboverma@...> > Hello, > > I find the sc-way of developing (select text, send it to the > language) very useful, esp. for JIT programming. > As I am now also developing in python, I wondered if anyone knows a > way to do so in a proper way with python, too… > > Using TextMate for developing btw. > > cheers and a happy day :-) > Till > > _______________________________________________ > sc-users mailing list > > info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml > archive: http://www.listarc.bham.ac.uk/marchives/sc-users/ > search: http://www.listarc.bham.ac.uk/lists/sc-users/search/ > _______________________________________________ sc-users mailing list info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml archive: http://www.listarc.bham.ac.uk/marchives/sc-users/ search: http://www.listarc.bham.ac.uk/lists/sc-users/search/ |
|
|
Re: OT "supercollider"-mode for python?Hiho,
On Tuesday 14 April 2009 16:38:00 LFSaw wrote: > So, does this mean I have to build an interactive python shell the > supercollider-way by myself, and no-one ever has done this before? not sure... you should ask on Python programmer lists too. We all use SC here, but don't all use Python. sincerely, Marije _______________________________________________ sc-users mailing list info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml archive: http://www.listarc.bham.ac.uk/marchives/sc-users/ search: http://www.listarc.bham.ac.uk/lists/sc-users/search/ |
|
|
Re: OT "supercollider"-mode for python?Hi Till,
I'm not a TextMate user, so I can't help in that regard. For what it's worth, I use VIM and/or IDLE (which I think comes w. MacPython - the preferred python) then I use the triple-quote string (""" or ''') blocks to isolate all but what I'm testing, and then execute run the file. This permits a more flexible for incremental dev. than select/execute and is just as fast, in the end. The only thing to watch is to use " not use """ comments inside function definitions (for later use by pydoc) until the dev. phase is finished. IDLE used to have the select/execute method but no longer. It does have two windows- a keyword coloured editor and a python shell so you can copy-paste directly to that. And of course, it's not expensive (read "free"). Contact me off SC list if you want to discuss this more. Was it you asking about executing SC code from python? (I'm in and out of this list) I've got some python code for piping SClang code and also some for OSC to SCsynth, but they're pretty "scripty" at the moment. ciao, David On 14/04/2009, at 7:32 PM, Rob Watson wrote: > Hi Till, > > I've built a small tool - sc3ctrl - which might help you. It allows > control of SuperCollider.app from the command line, via Open Sound > Control messages. > > You should also check out my SuperCollider bundle for TextMate, > which uses sc3ctrl internally for most of its functionality. > > Both are available at http://github.com/rfwatson. > > cheers, > Rob > > > > 2009/4/12 Till Bovermann <tboverma@...> > Hello, > > I find the sc-way of developing (select text, send it to the > language) very useful, esp. for JIT programming. > As I am now also developing in python, I wondered if anyone knows a > way to do so in a proper way with python, too… > > Using TextMate for developing btw. > > cheers and a happy day :-) > Till > > _______________________________________________ > sc-users mailing list > > info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml > archive: http://www.listarc.bham.ac.uk/marchives/sc-users/ > search: http://www.listarc.bham.ac.uk/lists/sc-users/search/ > _______________________________________________ sc-users mailing list info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml archive: http://www.listarc.bham.ac.uk/marchives/sc-users/ search: http://www.listarc.bham.ac.uk/lists/sc-users/search/ |
|
|
Re: OT "supercollider"-mode for python?Hey,
On 15.04.2009, at 03:06, nescivi wrote: > Hiho, > > On Tuesday 14 April 2009 16:38:00 LFSaw wrote: >> So, does this mean I have to build an interactive python shell the >> supercollider-way by myself, and no-one ever has done this before? > > not sure... > you should ask on Python programmer lists too. > We all use SC here, but don't all use Python. I know, but I really don't know how to describe that particular feature to the rest of the world (read: non-sc users)… But I guess I'll try… lg + thanx for your comments Till _______________________________________________ sc-users mailing list info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml archive: http://www.listarc.bham.ac.uk/marchives/sc-users/ search: http://www.listarc.bham.ac.uk/lists/sc-users/search/ |
|
|
Re: OT "supercollider"-mode for python?> I know, but I really don't know how to describe that particular feature to
> the rest of the world (read: non-sc users)… Maybe the term you are missing is REPL. The feature you want is the ability to send selected text from your editor to a REPL. http://en.wikipedia.org/wiki/REPL I haven't tried it yet, but this might be what you are looking for: http://technotales.wordpress.com/2007/10/03/like-slime-for-vim/ -- Renick Bell http://the3rd2nd.com _______________________________________________ sc-users mailing list info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml archive: http://www.listarc.bham.ac.uk/marchives/sc-users/ search: http://www.listarc.bham.ac.uk/lists/sc-users/search/ |
|
|
Re: OT "supercollider"-mode for python?In fact, this seems to be exactly what you are looking for:
http://www.vim.org/scripts/script.php?script_id=2495 -- Renick Bell http://the3rd2nd.com _______________________________________________ sc-users mailing list info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml archive: http://www.listarc.bham.ac.uk/marchives/sc-users/ search: http://www.listarc.bham.ac.uk/lists/sc-users/search/ |
|
|
Re: OT "supercollider"-mode for python?hey,
wow. that looks really cool. Thanx for all the words; I'll try it ASAP :-) REPL! Till On 15.04.2009, at 10:16, Renick Bell wrote: > In fact, this seems to be exactly what you are looking for: > > http://www.vim.org/scripts/script.php?script_id=2495 > > -- > Renick Bell > http://the3rd2nd.com > > _______________________________________________ > sc-users mailing list > > info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml > archive: http://www.listarc.bham.ac.uk/marchives/sc-users/ > search: http://www.listarc.bham.ac.uk/lists/sc-users/search/ _______________________________________________ sc-users mailing list info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml archive: http://www.listarc.bham.ac.uk/marchives/sc-users/ search: http://www.listarc.bham.ac.uk/lists/sc-users/search/ |
|
|
Re: OT "supercollider"-mode for python?Hey,
I released TM_InteractivePython here[1], a TextMate Bundle implementing REPL for python based on this thread. Feedback welcome. A big thanx goes to technotalesfor explanation of REPL-modes for vim, and Renick for ponting me to REPL, Thomas H. for his initial idea, and of course the SuperCollider community, which inspired me to look for such a way to get python REPL'y to work in TextMate. REPL! Till [1] http://blog.lfsaw.de/wordpress/?p=362 On 15.04.2009, at 10:31, LFSaw wrote: > hey, > > wow. that looks really cool. > Thanx for all the words; I'll try it ASAP :-) > > REPL! > Till > > > On 15.04.2009, at 10:16, Renick Bell wrote: > >> In fact, this seems to be exactly what you are looking for: >> >> http://www.vim.org/scripts/script.php?script_id=2495 >> >> -- >> Renick Bell >> http://the3rd2nd.com >> >> _______________________________________________ >> sc-users mailing list >> >> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml >> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/ >> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/ > > > _______________________________________________ > sc-users mailing list > > info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml > archive: http://www.listarc.bham.ac.uk/marchives/sc-users/ > search: http://www.listarc.bham.ac.uk/lists/sc-users/search/ _______________________________________________ sc-users mailing list info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml archive: http://www.listarc.bham.ac.uk/marchives/sc-users/ search: http://www.listarc.bham.ac.uk/lists/sc-users/search/ |
| Free embeddable forum powered by Nabble | Forum Help |