From Karl.Hufthammer at math.uib.no  Fri May 16 10:05:05 2008
From: Karl.Hufthammer at math.uib.no (Karl Ove Hufthammer)
Date: Fri, 16 May 2008 10:05:05 +0200
Subject: [Rd] ** operator
References: <482C1988.90209@telenet.be>
	<482C1DD1.9090607@stats.uwo.ca>	<482C44DA.1090702@lancaster.ac.uk>
	<Pine.LNX.4.64.0805151618200.17259@reclus.nhh.no>
	<482C4ABE.8020001@biostat.ku.dk>
Message-ID: <g0jf7h$bgs$1@ger.gmane.org>

Peter Dalgaard:

> Not really, just transcribed during the lexical analysis phase:
> 
> case '*':
> if (nextchar('*'))
> c='^';
> yytext[0] = c;
> yytext[1] = '\0';
> yylval = install(yytext);
> return c;
> 
> (There's no "->" function either...)

You can also use expression() to see what various expressions are parsed as:

  > expression(2**5)
  expression(2^5)

  > expression(3->x)
  expression(x <- 3)

-- 
Karl Ove Hufthammer



[Rd] ** operator
Karl Ove Hufthammer