Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

attributes/methods on sigils?

3 views
Skip to first unread message

Michele Dondi

unread,
Sep 21, 2004, 7:49:07 AM9/21/04
to perl6-l...@perl.org
I fear, and with good reasons, that this may be too wild a case of an
extremization, but I wonder wether, just like for example strings are
implemented by means of special (quote-like) operators, sigils, instead of
being syntactical creatures could be (sort of special) operators
themselved and thus allow attributes/methods or even adverbs...


Michele
--
The reason I want to do this is that I am drawing up legal documents,
and sometimes when I send out to a client I want to have a footnote to
explain some point of godawful convoluted legal prose (why don't I
just write it clearly in the first place??! Different topic....)
- "DrMemory" in comp.text.tex, "Re: Footnotes: turning them on/off"

Larry Wall

unread,
Sep 21, 2004, 3:04:01 PM9/21/04
to perl6-l...@perl.org
On Tue, Sep 21, 2004 at 01:49:07PM +0200, Michele Dondi wrote:
: I fear, and with good reasons, that this may be too wild a case of an
: extremization, but I wonder wether, just like for example strings are
: implemented by means of special (quote-like) operators, sigils, instead of
: being syntactical creatures could be (sort of special) operators
: themselved and thus allow attributes/methods or even adverbs...

We can do better than that--let's just define every Unicode character
to be an object with various roles and attributes, and the roles of
each character tell how to parse it in any context and what it means
in that role. Then we add all these object characters to Intercal,
and we're done.

Larry

Herbert Snorrason

unread,
Sep 21, 2004, 3:37:59 PM9/21/04
to perl6-l...@perl.org
Now you're underusing smileys. I hope.

--
Schwäche zeigen heißt verlieren;
härte heißt regieren.
- "Glas und Tränen", Megaherz

0 new messages