mirror of
https://github.com/ProgramSnail/pass_strategy_synthesis.git
synced 2025-12-24 17:58:44 +00:00
13 lines
241 B
OCaml
13 lines
241 B
OCaml
open OCanren
|
|
|
|
type data = int
|
|
|
|
type tag = Ref | Value
|
|
type stmt = Call of data * data list | Read of data | Write of data
|
|
|
|
type body = stmt list
|
|
|
|
type arg = data * tag
|
|
type fun_decl = data * arg list * body
|
|
|
|
type prog = fun_decl list * body
|