Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (*pp camlp4of *)
- open Camlp4.PreCast;;
- open Syntax;;
- EXTEND Gram
- GLOBAL: expr;
- expr: LEVEL "+"
- [
- [ evar = expr; "<@"; ef = expr ->
- <:expr<
- $evar$ <- $ef$ $evar$
- >>
- ]
- ]
- ;
- END
Advertisement
Add Comment
Please, Sign In to add comment