develooper Front page | perl.perl6.language | Postings from April 2006

[svn:perl6-synopsis] r8931 - doc/trunk/design/syn

April 24, 2006 08:19
[svn:perl6-synopsis] r8931 - doc/trunk/design/syn
Message ID:
Author: larry
Date: Mon Apr 24 08:18:48 2006
New Revision: 8931


A postdeclaration may not change the syntax away from listop parsing rules.

Modified: doc/trunk/design/syn/S02.pod
--- doc/trunk/design/syn/S02.pod	(original)
+++ doc/trunk/design/syn/S02.pod	Mon Apr 24 08:18:48 2006
@@ -1552,6 +1552,10 @@
 since that's a run-time dispatch, and all multis are effectively
 visible at the point of the controlling C<proto> declaration.
+Parsing of a provisional call is always done the same way list operators
+are treated.  If a postdeclaration bends the syntax to be inconsistent
+with that, it is an error of the inconsistent signature variety.
 If the unrecogized subname is followed by C<< postcircumfix:<( )> >>, it is
 compiled as a provisional function call of the parenthesized form.
 If it is not, it is compiled as a provisional function call of Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About