{%
#include<stdio.h>
#include<stdlib.h>
%}
%token ID NUM IF THEN LE GE EQ NE OR AND ELSE
%right '='
%left AND OR
%left '<' '>' LE GE EQ NE
%left '+''-'
%left '*''/'
%right UMINUS
%left '!'
%%
Mentioned Above is a part in the yacc program for a simple IF ELSE program....
i m just a beginner and don't understand what do we mean by %right
and %left
terms......
plz help me on this occasion...