Guest User

Untitled

a guest
Jul 22nd, 2013
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. appfreeexpr:
  2. | LET IDENT EQUAL expr IN expr { ExprLet($2, [], $4, $6) }
  3.  
  4. expr:
  5. exprapplist { match $1 with [x] -> x | x -> ExprApp x}
  6.  
  7. exprapplist:
  8. appfreeexpr { [$1] }
  9. | appfreeexpr exprapplist { $1 :: $2 }
Advertisement
Add Comment
Please, Sign In to add comment