9 lines
155 B
OCaml
9 lines
155 B
OCaml
|
type exp =
|
||
|
| Id of identifier
|
||
|
| LInt of int
|
||
|
| Add of exp * exp
|
||
|
| Mul of exp * exp
|
||
|
| Sum of identifier * exp * exp * exp
|
||
|
|
||
|
and identifier = string
|