On Apr 6, 2008, at 12:07 , John M. Dlugosz wrote:
Larry Wall larry-at-wall.org |Perl 6| wrote:
and think you've gotten anywhere, since you'd then have to rewrite it
again:

    $foo.postcircumfix:<( )>.postcircumfix:<( )>.($bar)
$foo.postcircumfix:<( )>.postcircumfix:<( )>.postcircumfix:<( ) >.($bar)
    ...

Something has to recognize it as a special form.
You lost me. Why does it apply operator(), er, postcircumfix:<( )> multiple times on successive return results?

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


Reply via email to