I know this has been discussed before, but I just wanted to throw this
question out there again: why doesn't Pd have a quoting mechanism? I
think Max uses regular "" double quotes and I haven't heard too many
complaints. What are the pitfalls or hangups? Perhaps its related to
Pd not having an escape mechanism.
Is it just a matter of someone implementing it, or is there something
else?
.hc
Computer science is no more related to the computer than astronomy is
related to the telescope. -Edsger Dykstra
Closely related to this issue, as far as I know it is still not possible to create certain characters in Pd at all. I forget now whether it was a backslash, foreslash or maybe colon, but last time I tried using all manner of ridiculous substitutions and [makefilename] with ascii character codes, and still couldn't do it.
We really do need a mechanism to move past this.
On Wed, 4 Feb 2009 10:11:34 -0500 Hans-Christoph Steiner hans@eds.org wrote:
I know this has been discussed before, but I just wanted to throw this
question out there again: why doesn't Pd have a quoting mechanism? I
think Max uses regular "" double quotes and I haven't heard too many
complaints. What are the pitfalls or hangups? Perhaps its related to
Pd not having an escape mechanism.Is it just a matter of someone implementing it, or is there something
else?.hc
Computer science is no more related to the computer than astronomy is
related to the telescope. -Edsger Dykstra
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I think backslashes and curly brackets are dropped - plus, of course, there's no way to deal with character sets. This is intimately mixed up with another long-standing need to simplify the way stuff gets sent to the GUI - preferably in a way that would allow plugging totally non-TK GUIs in front if/when the oportunity or necessity comes. So this will be a major re-code, probably warranting its own release number.
cheers Miller
On Wed, Feb 04, 2009 at 03:20:57PM +0000, Andy Farnell wrote:
Closely related to this issue, as far as I know it is still not possible to create certain characters in Pd at all. I forget now whether it was a backslash, foreslash or maybe colon, but last time I tried using all manner of ridiculous substitutions and [makefilename] with ascii character codes, and still couldn't do it.
We really do need a mechanism to move past this.
On Wed, 4 Feb 2009 10:11:34 -0500 Hans-Christoph Steiner hans@eds.org wrote:
I know this has been discussed before, but I just wanted to throw this
question out there again: why doesn't Pd have a quoting mechanism? I
think Max uses regular "" double quotes and I haven't heard too many
complaints. What are the pitfalls or hangups? Perhaps its related to
Pd not having an escape mechanism.Is it just a matter of someone implementing it, or is there something
else?.hc
Computer science is no more related to the computer than astronomy is
related to the telescope. -Edsger Dykstra
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Use the source
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Miller Puckette wrote:
I think backslashes and curly brackets are dropped - plus, of course, there's no way to deal with character sets. This is intimately mixed up with another long-standing need to simplify the way stuff gets sent to the GUI - preferably in a way that would allow plugging totally non-TK GUIs in front if/when the oportunity or necessity comes. So this will be a major re-code, probably warranting its own release number.
you mean like: 0.43 or like 1.0?
(like many others(?)) i would definitely be interested in this, eventually spending coding time.
fgmad IOhannes
On Feb 4, 2009, at 1:01 PM, IOhannes m zmoelnig wrote:
Miller Puckette wrote:
I think backslashes and curly brackets are dropped - plus, of
course, there's no way to deal with character sets. This is intimately mixed up
with another long-standing need to simplify the way stuff gets sent to the GUI -
preferably in a way that would allow plugging totally non-TK GUIs in front if/ when the oportunity or necessity comes. So this will be a major re-code,
probably warranting its own release number.you mean like: 0.43 or like 1.0?
(like many others(?)) i would definitely be interested in this,
eventually spending coding time.
I also would contribute code, but first I think we need to figure out
what to code, and figuring out what to code seems to the be the
hardest problem. To me it doesn't seem so hard, most of it is pretty
straightforward, but I am sure there are key sticky bits that are the
real problem, I am just not aware of what those sticky bits are.
In the process of rewriting the GUI, handling this stuff doesn't seem
very difficult, Tcl is pretty good at escaping text, and it is already
UTF-8 throughout.
One thing, quotes seem pretty natural to me as a way of quoting
symbols with spaces, for example. Perhaps we could use the Tcl-style
{} for quotes since they are currently not used at all in Pd. The
other one is "" double quotes since basically every programming
language uses them for some kind of quoting.
.hc
"It is convenient to imagine a power beyond us because that means we
don't have to examine our own lives.", from "The Idols of
Environmentalism", by Curtis White
Hans-Christoph Steiner wrote:
(like many others(?)) i would definitely be interested in this, eventually spending coding time.
I also would contribute code, but first I think we need to figure out what to code, and figuring out what to code seems to the be the hardest problem.
definitely. i didn't propose anything here (apart from my rant about no tcl code being allowed in a C-file in a previous mail) since i am currently busy doing other things and i am not even sure whether a mailing list is a good medium for such things. nor an IRC chat. nor "just coding".
To me it doesn't seem so hard, most of it is pretty straightforward, but I am sure there are key sticky bits that are the real problem, I am just not aware of what those sticky bits are.
In the process of rewriting the GUI, handling this stuff doesn't seem very difficult, Tcl is pretty good at escaping text, and it is already UTF-8 throughout.
One thing, quotes seem pretty natural to me as a way of quoting symbols with spaces, for example. Perhaps we could use the Tcl-style {} for quotes since they are currently not used at all in Pd. The other one is
personally i am more a fan of using {} for grouping lists as is the tcl-style as well (and i think the confusion in tcl whether one should use "" or {} really a bad thing) however, if Pd is not meant to have any nested lists ever, this would of course be no problem.
fgmasdr IOhannes