The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: perl.perl6.language
From: la...@wall.org (Larry Wall)
Date: Fri, 23 Jan 2004 20:09:48 -0800
Local: Fri, Jan 23 2004 11:09 pm
Subject: Re: Semantics of vector operations
On Fri, Jan 23, 2004 at 07:53:49PM -0800, Jonathan Lang wrote: : > But, presumably, you could write a macro that has a whitespace-eater : Dave Whipp wrote: : > encoded : > somehow. That is, : > : > macro leach() { chomp_trailing_whitespace; return "?" } : > macro reach () { chomp_leading_whitespace; return "?" } : > : > then the macro magic would expand "leach eq reach" as "?eq?" (which, : > hopefully, it then re-parses as a single token^Woperator). This doesn't : > solve the generalized problem of disambiguating, though I could see a : > "_" operator defined as a macro that eats all its surrounding : > whitespace. : : ...making it a "nospace" character (or is that a "no_space" character? : Same thing?) : : You wouldn't be able to say "chomp_trailing_whitespace" if you did this, : though. I doubt a _ macro would fire off in the middle of an identifier Now, if we get into token-gluing scenarios, these sorts of things Larry You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||