1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
type target_lang =
| Markdown
| Michelson
| MichelsonStorage
| Whyml
| Javascript
[@@deriving show {with_path = false}]
type storage_policy =
| Record
| Flat
| Hybrid of (string * string) list
[@@deriving show {with_path = false}]
type execution_mode =
| WithSideEffect
| WithoutSideEffect
[@@deriving show {with_path = false}]
type sorting_policy =
| OnTheFly
| OnChange
| None
[@@deriving show {with_path = false}]
let version = "1.2.4"
let url = "https://archetype-lang.org/"
let target = ref (Michelson : target_lang)
let storage_policy = ref Record
let execution_mode = ref WithSideEffect
let sorting_policy = ref OnTheFly
let with_init_caller = ref true
let opt_lsp = ref false
let opt_service = ref false
let opt_json = ref false
let opt_rjson = ref false
let opt_pt = ref false
let opt_extpt = ref false
let opt_ext = ref false
let opt_ast = ref false
let opt_mdl = ref false
let opt_omdl = ref false
let opt_typed = ref false
let opt_ir = ref false
let opt_dir = ref false
let opt_red_dir = ref false
let opt_mic = ref false
let opt_mici = ref false
let opt_all_parenthesis = ref false
let opt_m = ref false
let opt_raw = ref false
let opt_raw_whytree = ref false
let opt_raw_ir = ref false
let opt_raw_michelson = ref false
let opt_caller = ref "$CALLER_ADDRESS"
let opt_decomp = ref false
let opt_trace = ref false
let opt_metadata_uri = ref ""
let opt_metadata_storage = ref ""
let opt_with_metadata = ref false
let opt_expr : (string option) ref = ref (None : string option)
let opt_entrypoint : (string option) ref = ref (None : string option)
let opt_type : (string option) ref = ref (None : string option)
let opt_show_entries = ref false
let opt_with_contract = ref false
let opt_code_only = ref false
let opt_expr_only = ref false
let opt_init = ref ""
let = ref false
let opt_sdir = ref false
let opt_property_focused = ref ""
let opt_vids : (string list) ref = ref []
let add_vids s =
opt_vids := s::!opt_vids