/*
$echo 	FILE:	lr1_br1.lex
$echo 	A LR1 GRAMMAR FROM
$echo 		LETTER FROM BENT BRUUN KRISTENSEN
$echo 				AND
$echo 			    OLE LEHRMANN MADSEN
$echo 		SIGPLAN VOL 19 NO 8 AUG 1984	
$echo Okay	
*/
/@
@** |lr1_br1| grammar.\fbreak
	A LR1 GRAMMAR FROM
		LETTER FROM BENT BRUUN KRISTENSEN
				AND
			    OLE LEHRMANN MADSEN
		SIGPLAN VOL 19 NO 8 AUG 1984		
@/
fsm (fsm-id    "lr1_br1.lex",fsm-filename lr1_br1,fsm-namespace NS_lr1_br1
    ,fsm-class  Clr1_br1_rul_fsm
    ,fsm-version "1.0",fsm-date "8-oct-96"
    ,fsm-debug "true",fsm-comments "test out lr1")
@"/usr/local/yacco2/compiler/grammars/yacco2_T_includes.T"

rules
{
  Rlr1_br1  (){ 
      -> RE eog 
    }

  RE  (){ 
      -> RA a
      -> RB b
      -> u RA b
      -> u RB a
    }

  RA  (){ 
      -> x y z RA
      -> x q
    }
  
  RB  (){ 
      -> x y z RB
      -> x q
    }
}	// end of grammar
