Re: Implicit Multiplication

2005-08-09 Thread Hans Aberg
On 9 Aug 2005, at 01:33, Aaron Hurst wrote: This seems to implement exactly the behavior I was describing. The help is much appreciated. You are welcome. But you need to check the token precedences for IDENTIFIER '(' ')'; I just put them in to avoid conflicts. [Also keep the cc to Help-

Re: Implicit Multiplication

2005-08-06 Thread Hans Aberg
On 6 Aug 2005, at 03:05, Aaron Hurst wrote: I would like to be able to parse implicit multiplication (i.e. if two expression appear next to each other without an operator, they should be mulitplied). Here is a variation: %token IDENTIFIER %left '|' '+' %left '^&

Re: Implicit Multiplication

2005-08-06 Thread Laurence Finston
On Fri, 5 Aug 2005, Aaron Hurst wrote: > [...] However, I would like to be able to parse > implicit multiplication (i.e. if two expression appear next to each > other without an operator, they should be mulitplied). [...] >| expression expression %prec '*' /* thi

Re: Implicit Multiplication

2005-08-06 Thread Hans Aberg
On 6 Aug 2005, at 03:05, Aaron Hurst wrote: I'm trying to parse a simple algebraic (Boolean) expression using the grammar described below. However, I would like to be able to parse implicit multiplication (i.e. if two expression appear next to each other without an operator, they s

Implicit Multiplication

2005-08-05 Thread Aaron Hurst
Hi... maybe someone with more bison experience could lend a hand? Any help is greatly appreciated. I'm trying to parse a simple algebraic (Boolean) expression using the grammar described below. However, I would like to be able to parse implicit multiplication (i.e. if two expression a