11 lines
160 B
OCaml
11 lines
160 B
OCaml
|
module Syntax = struct
|
||
|
type expr =
|
||
|
| Int of { value: int
|
||
|
; pos: Lexing.position }
|
||
|
end
|
||
|
|
||
|
module IR = struct
|
||
|
type expr =
|
||
|
| Int of int
|
||
|
end
|