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-menhir/code/AST.ml
2023-10-02 09:39:12 +02:00

8 lines
155 B
Standard ML

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