This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues or pull requests.
compilation/tp/tp-reduce-reduce/functions-multiple-arguments/AST.ml

10 lines
201 B
OCaml
Raw Permalink Normal View History

2023-10-23 16:00:15 +02:00
type expression =
Var of Id.t
| Int of int
| Add of expression * expression
| Fun of boundN
| App of expression * expression list
and boundN = { bound : Id.t list;
body : expression; }