Monday, 30 May 2016

Shift/Reduce demonstration - 2 [Happy]

Happy is a LALR(1) parser.

The production: (to get an expression)
Expr16 :: Expr16 'cross' Expr17
             | Expr17
 The syntax to demonstrate:
ZED X == A x B x C END








No comments :

Post a Comment