File tree 7 files changed +43
-3
lines changed
7 files changed +43
-3
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,15 @@ OPTIONS = QUIT_ON_FAILURE
3
3
THYFILES = $(patsubst %Script.sml,%Theory.uo,$(wildcard *.sml))
4
4
TARGETS0 = $(patsubst %Theory.sml,,$(THYFILES))
5
5
TARGETS = $(patsubst %.sml,%.uo,$(TARGETS0))
6
- all: $(TARGETS) basis_ffi.o
6
+
7
+ README_SOURCES = basis.sml basis_ffi.c dependency-order
8
+
9
+ README.md: $(README_SOURCES) readmePrefix ../developers/readme_gen
10
+ ../developers/readme_gen $(README_SOURCES)
11
+
12
+ all: $(TARGETS) basis_ffi.o README.md
7
13
.PHONY: all
14
+
8
15
ifndef CC
9
16
CC=gcc
10
17
endif
Original file line number Diff line number Diff line change
1
+ Contains the beginnings of a standard basis library for CakeML,
2
+ similar to the standard basis library of SML.
3
+
4
+ [ basis.sml] ( basis.sml ) :
5
+ Convenience structure that re-exports all the libraries and theories of the
6
+ CakeML basis library.
7
+
8
+ [ basis_ffi.c] ( basis_ffi.c ) :
9
+ Implements the foreign function interface (FFI) used in the CakeML basis
10
+ library, as a thin wrapper around the relevant system calls.
11
+
12
+ [ dependency-order] ( dependency-order ) :
13
+ This file records the current, linear dependency order between the
14
+ translation/CF theories making up the basis library verification.
15
+
16
+ [ pure] ( pure ) :
17
+ HOL definitions of the pure functions used in the CakeML basis.
Original file line number Diff line number Diff line change
1
+ /*
2
+ Implements the foreign function interface (FFI) used in the CakeML basis
3
+ library, as a thin wrapper around the relevant system calls.
4
+ */
1
5
#include <stdio.h>
2
6
#include <string.h>
3
7
#include <stdlib.h>
Original file line number Diff line number Diff line change 1
- (*
2
1
This file records the current, linear dependency order between the
3
2
translation/CF theories making up the basis library verification.
4
3
@@ -7,7 +6,6 @@ translator (which provides only translation_extends as a method for joining two
7
6
translations). Eventually, when we have an abstract mode translator, the
8
7
different modules can be made more independent and different combinations can
9
8
be selected than simple prefixes of the current ordering.
10
- *)
11
9
12
10
std_prelude
13
11
Runtime
Original file line number Diff line number Diff line change 1
1
INCLUDES = ../../misc $(HOLDIR)/examples/formal-languages/regular
2
2
OPTIONS = QUIT_ON_FAILURE
3
+
4
+ README_SOURCES =
5
+
6
+ README.md: $(README_SOURCES) readmePrefix ../../developers/readme_gen
7
+ ../../developers/readme_gen $(README_SOURCES)
8
+
Original file line number Diff line number Diff line change
1
+ HOL definitions of the pure functions used in the CakeML basis.
2
+
3
+ The CakeML code for the pure parts of the basis is produced
4
+ from these by the translator.
Original file line number Diff line number Diff line change
1
+ HOL definitions of the pure functions used in the CakeML basis.
2
+
3
+ The CakeML code for the pure parts of the basis is produced
4
+ from these by the translator.
You can’t perform that action at this time.
0 commit comments