source: extracted/frontEndMem.mli @ 2601

Last change on this file since 2601 was 2601, checked in by sacerdot, 8 years ago

Extraction to ocaml is now working, with a couple of bugs left.
One limitation is that it is not possible to have two files with the
same name in different directories. Therefore this commit renames files
to avoid this situation.

The extracted directory contains:

  1. a snapshot of the .ml(i) files extracted from CerCo? by running ocamlc.opt -extract_ocaml compiler.ma The files have been patched by hand to implement all strings and fix the bugs.
  2. a file PROBLEMS that describes the remaining problems, i.e. bugs and axioms to be implemented

To obtain the compiler, run ocamlbuild compiler.byte.
At the moment it fails because of the three remaining axioms.

File size: 1.3 KB
Line 
1open Preamble
2
3open Hide
4
5open ByteValues
6
7open Proper
8
9open PositiveMap
10
11open Deqsets
12
13open PreIdentifiers
14
15open Errors
16
17open Setoids
18
19open Monad
20
21open Option
22
23open Lists
24
25open Identifiers
26
27open Coqlib
28
29open Floats
30
31open Integers
32
33open AST
34
35open Division
36
37open Arithmetic
38
39open Char
40
41open String
42
43open Extranat
44
45open Vector
46
47open FoldStuff
48
49open BitVector
50
51open Positive
52
53open Z
54
55open BitVectorZ
56
57open Pointers
58
59open Div_and_mod
60
61open Jmeq
62
63open Russell
64
65open Util
66
67open Bool
68
69open Relations
70
71open Nat
72
73open List
74
75open Hints_declaration
76
77open Core_notation
78
79open Pts
80
81open Logic
82
83open Types
84
85open Extralib
86
87open GenMem
88
89open Values
90
91open FrontEndVal
92
93val loadn :
94  GenMem.mem1 -> Pointers.pointer -> Nat.nat -> ByteValues.beval List.list
95  Types.option
96
97val load :
98  AST.typ -> GenMem.mem1 -> Pointers.pointer -> Values.val0 Types.option
99
100val loadv : AST.typ -> GenMem.mem1 -> Values.val0 -> Values.val0 Types.option
101
102val storen :
103  GenMem.mem1 -> Pointers.pointer -> ByteValues.beval List.list ->
104  GenMem.mem1 Types.option
105
106val store :
107  AST.typ -> GenMem.mem1 -> Pointers.pointer -> Values.val0 -> GenMem.mem1
108  Types.option
109
110val storev :
111  AST.typ -> GenMem.mem1 -> Values.val0 -> Values.val0 -> GenMem.mem1
112  Types.option
113
114val valid_pointer : GenMem.mem1 -> Pointers.pointer -> Bool.bool
115
Note: See TracBrowser for help on using the repository browser.