On Sat, Jul 28, 2007 at 01:01:05PM -0700, Colin Kuskie wrote:
> On Saturday 28 July 2007, Patrick R. Michaud wrote:
> > Actually, in thinking about this, there's likely to be a symbol
> > of available barewords somewhere in the parser, and the parser
> > will parse these as nouns/terms instead of list operators.
> > We currently don't have that feature in the compiler yet, but
> > I'll see about adding it soon.
> 
> I'm seeing similar behavior with things like sin:
>
>     is(sin $halfPi , 1, 'sin, bareword with a variable');

Correct -- the same sort of argument applies for 1-ary functions
acting as prefix operators instead of standard functions.  We just
don't have that sort of change-the-parse-based-on-function-definition
capability implemented yet.

Pm

Reply via email to