« Return to Thread: psycollider syntax colorizing

Re: psycollider syntax colorizing

by andrea valle-3 :: Rate this Message:

Reply to Author | View in Thread

(who knows it this could be useful...)

I wrote a parser for sc sources which outputs a text file with verbatim ConTeXt command for reproducing colored sources in ConTeXt  (it's for my ongoing Italian minimal SC manual).

I see that syntax colorizing works after each input word in psycollider. 
Assuming a macosx approach (colorizing on request),  and apart form TeX instruction, maybe it could save some work or give some hint as it is written in Python.

I've put it here:
http://www.semiotiche.it/andrea/membrana/scToConText.py

(i do not know if it is useful to add it to swiki)

Best

-a-

On 12 Apr 2007, at 21:53, Sciss wrote:

hi,

i have written a small hack from the original SC-lang colorization code to a small java tool to colorize your sc sources into HTML, i'm using it for generating the examples in swingOSC help files for the upcoming version. maybe it's a usefull starting point also for unifying the syntax colorization on PC.


ciao, -sciss-


Am 12.04.2007 um 16:45 schrieb Andrea Valle:

Hi Chris,

this is minimal but a bit curious for me.
I'm teaching from mac to win students.
Now, they have a completely different syntax color scheme from mac, while my sc manual draft uses the mac one.
More, I think some colorizing lacks.

Could it be possible in next releases to uniform it? (I guess it's only a question of rgb parameters in the writer)


Best

-a-


--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information.
(Annabel Chong)



--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information.
(Annabel Chong)




_______________________________________________
sc-users mailing list


_______________________________________________
sc-users mailing list

--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information.
(Annabel Chong)





_______________________________________________
sc-users mailing list
sc-users@...
http://www.create.ucsb.edu/mailman/listinfo/sc-users

 « Return to Thread: psycollider syntax colorizing