| From | Sent On | Attachments |
|---|---|---|
| Krzysztof Czaja | Mar 24, 2005 7:50 am | |
| Mathieu Bouchard | Mar 24, 2005 9:20 am | |
| Frank Barknecht | Mar 24, 2005 11:03 am | |
| Krzysztof Czaja | Mar 24, 2005 1:54 pm | |
| Mathieu Bouchard | Mar 24, 2005 2:36 pm | |
| Tim Blechmann | Mar 25, 2005 1:37 pm | |
| Krzysztof Czaja | Mar 25, 2005 2:13 pm | |
| Tim Blechmann | Mar 26, 2005 12:31 am | |
| Mathieu Bouchard | Mar 26, 2005 12:57 am | |
| Krzysztof Czaja | Mar 26, 2005 3:40 am | |
| Frank Barknecht | Mar 26, 2005 4:03 am | |
| ix...@replic.net | Mar 26, 2005 4:20 am | |
| Krzysztof Czaja | Mar 26, 2005 1:26 pm | |
| Tim Blechmann | Mar 27, 2005 4:52 am | |
| Tim Blechmann | Mar 27, 2005 4:57 am | |
| Mathieu Bouchard | Mar 27, 2005 9:15 pm | |
| Krzysztof Czaja | Mar 28, 2005 7:38 am |
| Subject: | Re: [PD-dev] Re: [PD] VASP future | |
|---|---|---|
| From: | Tim Blechmann (TimB...@gmx.net) | |
| Date: | Mar 25, 2005 1:37:22 pm | |
| List: | at.iem.pd-dev | |
The global symbol-table would deal with: 1. the unique numbering of symbols based on string comparison 2. the holding of global variables (array names / receive-symbols)
A "local" symbol-table would deal with: 1. the holding of "local" variables 2. that's all
The $-prefixes would really become scope indicators. $0-hello would access the local table $0 using the t_symbol "hello". This would *not* create a t_symbol "1000-hello" anymore.
i was thinking about this ... from my point of view, there are 2 different ways to implement this:
1. rewrite the $X resolving: at the moment it'd not known, if a symbol starts with $0, $2 or 1234 ... the resolving is done when the object is being created... this could be changed by using $X as kind of namespaces with a symbol table for every parent canvas ... i think this would be the most elegant solution...
2. hack gensym: if the string begins with a number, use the corresponding symbol table ... still, this would be an ugly hack ...
i'd prefer the first solution, although it would change most of pd's $X handling ... it's cleaner, though ...
any other possible solutions?
cheers ... tim
-- mailto:TimB...@gmx.de ICQ: 96771783 http://www.mokabar.tk
latest mp3: kMW.mp3 http://mattin.org/mp3.html
latest cd: Goh Lee Kwang & Tim Blechmann: Drone http://www.geocities.com/gohleekwangtimblechmannduo/
After one look at this planet any visitor from outer space would say "I want to see the manager." William S. Burroughs





