/* $echo FILE: knu2.lex $echo Purpose: test out lr1 from knuth's paper $echo Knuth's paper $echo On the Translation of languages from left to right $echo from Infromation and control, vol. 8 of 6, pages 607--639, 1965 $echo (25) grammar $echo Okay lr1. FILE: dates: 23 oct 2008 */ /@ @** |knu2| Grammar.\fbreak Test out (25) grammar from Knuth's paper: ``On the Translation of languages from left to right'' from Information and control, vol. 8 of 6, pages 607--639, 1965. @/ fsm (fsm-id "knu2.lex",fsm-filename knu2,fsm-namespace NS_knu2 ,fsm-class Cknu2 ,fsm-version "1.0",fsm-date "23 oct 2008",fsm-debug "true" ,fsm-comments "knuth grammar (25)") @"/usr/local/yacco2/compiler/grammars/yacco2_T_includes.T" rules{ Rstart(){ -> RS eog } RS (){ -> a -> ( RS + RS ) } }// end of rules