rename operators to predefined

This commit is contained in:
Pierre-Emmanuel Wulfman 2020-06-12 14:16:17 +02:00
parent aa849f6dcb
commit 02d66cf536
18 changed files with 16 additions and 20 deletions

View File

@ -14,7 +14,7 @@
ast_typed
spilling
mini_c
operators
predefined
stacking
compile
)

View File

@ -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

View File

@ -6,7 +6,7 @@
tezos-utils
cst
ast_imperative
operators)
predefined)
(preprocess
(pps
ppx_let

View File

@ -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

View File

@ -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

View File

@ -6,7 +6,7 @@
tezos-utils
cst
ast_imperative
operators)
predefined)
(preprocess
(pps
ppx_let

View File

@ -6,7 +6,7 @@
tezos-utils
ast_core
ast_typed
operators
predefined
UnionFind
environment
typer_common

View File

@ -8,7 +8,7 @@
ast_core
ast_typed
typer_new
operators
predefined
environment
)
(preprocess

View File

@ -8,7 +8,7 @@
ast_typed
typer_old
typer_new
operators
predefined
)
(preprocess
(pps ppx_let bisect_ppx --conditional)

View File

@ -7,7 +7,7 @@
ast_typed
mini_c
self_mini_c
operators
predefined
)
(preprocess
(pps ppx_let bisect_ppx --conditional)

View File

@ -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

View File

@ -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

View File

@ -6,7 +6,7 @@
proto-alpha-utils
tezos-utils
mini_c
operators
predefined
)
(preprocess
(pps ppx_let bisect_ppx --conditional)

View File

@ -1,6 +1,6 @@
(library
(name operators)
(public_name ligo.operators)
(name predefined)
(public_name ligo.predefined)
(libraries
simple-utils
tezos-utils