added grammar used in canonLR example on wikipedia