package lustre-v6

  1. Overview
  2. Docs
The Lustre V6 Verimag compiler

Install

Dune Dependency

Authors

Maintainers

Sources

lustre-v6.6.103.3.tgz
md5=755e46de4d57d4c489f5b0a0f2b8663d
sha512=8d452184ee68edda1b5a50717e6a5b13fb21f9204634fc5898280e27a1d79c97a6e7cc04424fc22f34cdd02ed3cc8774dca4f982faf342980b5f9fe0dc1a017d

doc/src/lustre-v6/soc2cDep.ml.html

Source file soc2cDep.ml

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
(* Time-stamp: <modified the 06/02/2015 (at 10:52) by Erwan Jahier> *)

open Lv6MainArgs

let gen_assign_var_expr x =  
  match global_opt.io_transmit_mode with 
    | Heap -> Soc2cHeap.gen_assign_var_expr x
    | HeapStack -> Soc2cHeap.gen_assign_var_expr x
    | Stack ->  Soc2cStack.gen_assign_var_expr x 

let step_name x =  
  match global_opt.io_transmit_mode with 
    | Heap -> Soc2cHeap.step_name x
    | HeapStack -> Soc2cHeap.step_name x 
    | Stack ->  Soc2cStack.step_name x  

let get_step_prototype x y =
  match global_opt.io_transmit_mode with 
    | Heap -> Soc2cHeap.get_step_prototype x y
    | HeapStack -> Soc2cHeap.get_step_prototype x y
    | Stack ->  Soc2cStack.get_step_prototype x  y

let string_of_var_expr x =  
  match global_opt.io_transmit_mode with 
    | Heap -> Soc2cHeap.string_of_var_expr x
    | HeapStack -> Soc2cHeap.string_of_var_expr x 
    | Stack ->  Soc2cStack.string_of_var_expr x  

let ctx_var x =  
  match global_opt.io_transmit_mode with 
    | Heap -> Soc2cHeap.ctx_var x
    | HeapStack -> Soc2cHeap.ctx_var x 
    | Stack ->  Soc2cStack.ctx_var x  


let gen_step_call x =  
  match global_opt.io_transmit_mode with 
    | Heap -> Soc2cHeap.gen_step_call x
    | HeapStack -> Soc2cHeap.gen_step_call x 
    | Stack ->  Soc2cStack.gen_step_call x  

let inlined_soc x =  
  match global_opt.io_transmit_mode with 
    | Heap -> Soc2cHeap.inlined_soc x
    | HeapStack -> Soc2cHeap.inlined_soc x 
    | Stack ->  Soc2cStack.inlined_soc x  

let typedef_of_soc x =  
  match global_opt.io_transmit_mode with 
    | Heap -> Soc2cHeap.typedef_of_soc x
    | HeapStack -> Soc2cHeap.typedef_of_soc x 
    | Stack -> Soc2cStack.typedef_of_soc x  


let get_predef_op x =  
  match global_opt.io_transmit_mode with 
    | Heap -> SocPredef2cHeap.get_predef_op x
    | HeapStack -> SocPredef2cHeap.get_predef_op x 
    | Stack -> SocPredef2cStack.get_predef_op x  
let get_iterator x =  
  match global_opt.io_transmit_mode with 
    | Heap -> SocPredef2cHeap.get_iterator x
    | HeapStack -> SocPredef2cHeap.get_iterator x 
    | Stack -> SocPredef2cStack.get_iterator x  
let get_condact x =  
  match global_opt.io_transmit_mode with 
    | Heap -> SocPredef2cHeap.get_condact x
    | HeapStack -> SocPredef2cHeap.get_condact x 
    | Stack -> SocPredef2cStack.get_condact x  
let get_boolred x =  
  match global_opt.io_transmit_mode with 
    | Heap -> SocPredef2cHeap.get_boolred x
    | HeapStack -> SocPredef2cHeap.get_boolred x 
    | Stack -> SocPredef2cStack.get_boolred x  



OCaml

Innovation. Community. Security.