psycollider syntax colorizing

View: New views
8 Messages — Rating Filter:   Alert me  

psycollider syntax colorizing

by andrea valle-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
http://www.create.ucsb.edu/mailman/listinfo/sc-users

Re: psycollider syntax colorizing

by James Harkins-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Good request. My two cents are that these issues should probably take
higher priority:

- fix the 100% cpu use when scheduling on SystemClock or TempoClock
- fix TCP communications so that SwingOSC will work better

:)

But colorization would be nice too.

hjh

PS I *love* your Annabel Chong quote.

On 4/12/07, Andrea Valle <valle@...> wrote:

> 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-

--
James Harkins /// dewdrop world
jamshark70@...
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman
_______________________________________________
sc-users mailing list
sc-users@...
http://www.create.ucsb.edu/mailman/listinfo/sc-users

Re: psycollider syntax colorizing

by Christopher Frauenberger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 12 Apr 2007, at 15:57, James Harkins wrote:
> - fix the 100% cpu use when scheduling on SystemClock or TempoClock
> - fix TCP communications so that SwingOSC will work better
>
They are on top of my list, rest assured ;-)

> But colorization would be nice too.
>
This might turn out a bit trickier than it sounds as Psycollider uses  
a tweaked C++ colorising scheme, but its on the list now...

Chris




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

smime.p7s (3K) Download Attachment

Re: psycollider syntax colorizing

by Sciss-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

http://swiki.hfbk-hamburg.de:8888/MusicTechnology/845

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
> --> http://www.cirma.unito.it/andrea/
> --> andrea.valle@...
> --------------------------------------------------
>
>
> 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
> --> http://www.cirma.unito.it/andrea/
> --> andrea.valle@...
> --------------------------------------------------
>
>
> 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


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

Re: psycollider syntax colorizing

by andrea valle-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

(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

Re: psycollider syntax colorizing

by andrea valle-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Of course (having bothered for a night Sciss because of UDP issues...) 
I meant

chrisList = chrisList.add("syntaxColorizing")

or to speak in Python

chris_List.append("syntax_colorizing")

:)


-a-


PS:  I will probably alternate the quote with my other preferite one, really a sc-motto: 
"It's a complicated case, Maude. Lotta ins, Lotta outs"
(The Big Lebowski)

On 12 Apr 2007, at 16:57, James Harkins wrote:

Good request. My two cents are that these issues should probably take
higher priority:

- fix the 100% cpu use when scheduling on SystemClock or TempoClock
- fix TCP communications so that SwingOSC will work better

:)

But colorization would be nice too.

hjh

PS I *love* your Annabel Chong quote.

On 4/12/07, Andrea Valle <valle@...> wrote:
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-

-- 
James Harkins /// dewdrop world

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman
_______________________________________________
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

Re: psycollider syntax colorizing

by Stephan Wittwer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Am 12.04.2007 um 23:30 schrieb Andrea Valle:

"It's a complicated case, Maude. Lotta ins, Lotta outs"
(The Big Lebowski)


Sure, dude

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

Re: psycollider syntax colorizing

by Christopher Frauenberger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

to add some verbosity to the matter:

On 12 Apr 2007, at 22:30, Andrea Valle wrote:
> chrisList = chrisList.add("syntaxColorizing")
>

chrisList.postcs;

[
        [System Clock, Tempo Clock],
        [TCP mode of NetAddr],
        [HTML Help links forward / backward],
        [RTF support],
        [Unicode bug, umlaute destroy files],
        [alt-y, alt-sh-y broken],
        [startup.sc in homefolder],
        [Shortcuts, strg-a -> select all, strg-f -> find, strg-g -> find  
again, strg-l -> replace and find],
        [Unify colorisation with Mac]
]

chrisList.do { ... }

Anyone wants to get involved?


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

smime.p7s (3K) Download Attachment