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

13 lines
195 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-08 14:04:46 +01:00
type value = Int of int
type expr = Val of value
2022-12-06 20:39:15 +01:00
end