Re: Infix macros?

2003-03-12 Thread Larry Wall
On Tue, Mar 11, 2003 at 04:39:05PM +0100, Matthijs van Duin wrote: : Will infix operators be allowed to be macros instead of subs? Yes, but they can't retroactively change the rules under which the left argument was parsed. At most they can rearrange the returned parse tree. The right argument

Infix macros?

2003-03-11 Thread Matthijs van Duin
Will infix operators be allowed to be macros instead of subs? They'd be kinda necessary for infix operators for which standard sub conventions are insufficient and need to diddle the parse tree instead, such as short-circuiting operators. It would also allow Damien's original ~ operator (R2L