rename operators to predefined
This commit is contained in:
parent
aa849f6dcb
commit
02d66cf536
@ -14,7 +14,7 @@
|
||||
ast_typed
|
||||
spilling
|
||||
mini_c
|
||||
operators
|
||||
predefined
|
||||
stacking
|
||||
compile
|
||||
)
|
||||
|
@ -19,7 +19,7 @@ let pseq_to_list = function
|
||||
| Some lst -> npseq_to_list lst
|
||||
let get_value : 'a Raw.reg -> 'a = fun x -> x.value
|
||||
|
||||
open Operators.Tree_abstraction.Cameligo
|
||||
open Predefined.Tree_abstraction.Cameligo
|
||||
|
||||
let r_split = Location.r_split
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
tezos-utils
|
||||
cst
|
||||
ast_imperative
|
||||
operators)
|
||||
predefined)
|
||||
(preprocess
|
||||
(pps
|
||||
ppx_let
|
||||
|
@ -2,12 +2,8 @@
|
||||
(name tree_abstraction)
|
||||
(public_name ligo.tree_abstraction)
|
||||
(libraries
|
||||
simple-utils
|
||||
tezos-utils
|
||||
cameligo
|
||||
pascaligo
|
||||
ast_imperative
|
||||
operators)
|
||||
pascaligo)
|
||||
(preprocess
|
||||
(pps
|
||||
ppx_let
|
||||
|
@ -12,7 +12,7 @@ let npseq_to_ne_list (hd, tl) = (hd, List.map snd tl)
|
||||
|
||||
let (<@) f g x = f (g x)
|
||||
|
||||
open Operators.Tree_abstraction.Pascaligo
|
||||
open Predefined.Tree_abstraction.Pascaligo
|
||||
|
||||
let r_split = Location.r_split
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
tezos-utils
|
||||
cst
|
||||
ast_imperative
|
||||
operators)
|
||||
predefined)
|
||||
(preprocess
|
||||
(pps
|
||||
ppx_let
|
||||
|
@ -6,7 +6,7 @@
|
||||
tezos-utils
|
||||
ast_core
|
||||
ast_typed
|
||||
operators
|
||||
predefined
|
||||
UnionFind
|
||||
environment
|
||||
typer_common
|
||||
|
@ -8,7 +8,7 @@
|
||||
ast_core
|
||||
ast_typed
|
||||
typer_new
|
||||
operators
|
||||
predefined
|
||||
environment
|
||||
)
|
||||
(preprocess
|
||||
|
@ -8,7 +8,7 @@
|
||||
ast_typed
|
||||
typer_old
|
||||
typer_new
|
||||
operators
|
||||
predefined
|
||||
)
|
||||
(preprocess
|
||||
(pps ppx_let bisect_ppx --conditional)
|
||||
|
@ -7,7 +7,7 @@
|
||||
ast_typed
|
||||
mini_c
|
||||
self_mini_c
|
||||
operators
|
||||
predefined
|
||||
)
|
||||
(preprocess
|
||||
(pps ppx_let bisect_ppx --conditional)
|
||||
|
@ -3,11 +3,11 @@ open Errors
|
||||
open Mini_c
|
||||
open Michelson
|
||||
open Memory_proto_alpha.Protocol.Script_ir_translator
|
||||
open Operators.Stacking
|
||||
open Predefined.Stacking
|
||||
|
||||
(* This does not makes sense to me *)
|
||||
let rec get_operator : constant' -> type_expression -> expression list -> (predicate , stacking_error) result = fun s ty lst ->
|
||||
match Operators.Stacking.get_operators s with
|
||||
match Predefined.Stacking.get_operators s with
|
||||
| Some x -> ok x
|
||||
| None -> (
|
||||
match s with
|
||||
|
@ -4,7 +4,7 @@ open Mini_c
|
||||
|
||||
open Michelson
|
||||
open Memory_proto_alpha.Protocol.Script_ir_translator
|
||||
open Operators.Stacking
|
||||
open Predefined.Stacking
|
||||
|
||||
(*
|
||||
module Contract_types = Meta_michelson.Types
|
||||
|
@ -6,7 +6,7 @@
|
||||
proto-alpha-utils
|
||||
tezos-utils
|
||||
mini_c
|
||||
operators
|
||||
predefined
|
||||
)
|
||||
(preprocess
|
||||
(pps ppx_let bisect_ppx --conditional)
|
||||
|
@ -1,6 +1,6 @@
|
||||
(library
|
||||
(name operators)
|
||||
(public_name ligo.operators)
|
||||
(name predefined)
|
||||
(public_name ligo.predefined)
|
||||
(libraries
|
||||
simple-utils
|
||||
tezos-utils
|
Loading…
Reference in New Issue
Block a user