Begin { "+" "-" "*" "/" "(" ")" "#" "!" "." }: SimpleTokens; number: GenericToken = "tokenDECIMAL" ; maingoal: NonTerminal; sum: NonTerminal; product: NonTerminal; primitive: NonTerminal; maingoal _ sum "." ; sum.prod _ product ; sum.plus _ sum "+" product ; sum.minus _ sum "-" product ; product.prim _ primitive ; product.mult _ product "*" primitive ; product.div _ product "/" primitive ; primitive.number _ number ; primitive.loc _ "#" ; primitive.signal _ "!" ; primitive.paren _ "(" sum ")" ; End. ExampleParser.OneCasaba Copyright 1987 by Xerox Corporation. All rights reserved. Generated by BJackson.pa at April 22, 1987 2:16:57 am PDT using ThreeCasabaFour [1.1] of April 14, 1987 6:34:07 pm PDT rJ<