On Apr 6, 2008, at 12:07 , John M. Dlugosz wrote:
Larry Wall larry-at-wall.org |Perl 6| wrote:
You lost me. Why does it apply operator(), er, postcircumfix:<( )>
multiple times on successive return results?
and think you've gotten anywhere, since you'd then have to rewrite it
$foo.postcircumfix:<( )>.postcircumfix:<( )>.($bar)
$foo.postcircumfix:<( )>.postcircumfix:<( )>.postcircumfix:<( )
Something has to recognize it as a special form.
You've rewritten a method call... into a method call. Point being
that treating postcircumfix tokens as method calls doesn't work when
the postcircumfix token *indicates* a method call; that has to be
primitive. Put another way, method call syntax is postcircumfix for
lexing/syntax, but extending that to semantic analysis won't work.
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university KF8NH