[PD-dev] overriding "internals"
Mathieu Bouchard
matju at artengine.ca
Mon Nov 12 21:33:51 CET 2007
On Sat, 10 Nov 2007, Hans-Christoph Steiner wrote:
> Reserved words are different than essential functions. Here are the C
> reserved words:
> http://lib.daemon.am/Books/C/apb/apb.htm
> Try to write Pd without calloc, sprintf, etc. yet they are not
> reserved words.
> http://en.wikipedia.org/wiki/Reserved_word
Pd doesn't really have reserved words... Nothing really behaves that
specially in Pd, that it has to be handled by the parser. The only special
characters really are just colon, semicolon, backslash, dollar and spaces.
The most special words that Pd has (that I can think of) are:
* float symbol pointer list bang. Those are selectors that have special
entries in t_class. Four of them have special restrictions on their
arguments.
* [pd], [inlet(~)], [outlet(~)], [declare], [objectmaker], [block~],
[switch~], get treated specially sometimes. There might be a few other
more like that, but there aren't many.
* "set" is a quite common method name, but not universal.
* "#X" "#N" "#A" "pd" as receive-symbols are reserved. (there are some
more like that)
None of those symbols is special enough that is disallowed in all
circumstances.
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
More information about the Pd-dev
mailing list