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

9 lines
155 B
OCaml
Raw Permalink Normal View History

2023-10-02 09:39:12 +02:00
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