This repository has been archived on 2022-12-27. You can view files and clone it, but cannot push or open issues or pull requests.
compilateurMIPS/ast.ml

12 lines
167 B
OCaml
Raw Normal View History

2022-12-06 20:39:15 +01:00
module Syntax = struct
type expr =
2022-12-06 22:22:48 +01:00
| Int of
{ value : int
; pos : Lexing.position
}
2022-12-06 20:39:15 +01:00
end
module IR = struct
2022-12-06 22:22:48 +01:00
type expr = Int of int
2022-12-06 20:39:15 +01:00
end