mes/scaffold/boot
Jan Nieuwenhuizen 5dc245e739
build: Simplify.
core: Make mes src/ c files separate compilation units.

* include/mes/constants.h: New file.
* include/mes/macros.h: New file.
* include/mes/mes.h: New file.
* src/gc.c: Update.
* src/hash.c: Update.
* src/lib.c: Update.
* src/math.c: Update.
* src/mes.c: Update.
* src/module.c: Update.
* src/posix.c: Update.
* src/reader.c: Update.
* src/string.c: Update.
* src/struct.c: Update.
* src/vector.c: Update.

    mes: Update datadir.

* src/mes.c (g_datadir): New global.
(open_boot): Rename from read_boot.
(read_boot): New function.
* mes/module/mes/boot-0.scm: Move from boot-0.scm.in
* configure: Update.
* configure.sh: Update.

    mescc: Create libraries from separate files.

* .gitignore: Update.
* build-aux/bootstrap-mes.sh: Remove.
* build-aux/bootstrap.sh.in: Remove.
* build-aux/build-guile.sh: Update.
* build-aux/build-mes.sh: Update.
* build-aux/build-scaffold.sh: New file.
* build-aux/build.sh.in: Update.
* build-aux/cc.sh: Update.
* build-aux/check-tcc.sh: Remove.
* build-aux/config.sh.in: New file.
* build-aux/config.sh: Remove.
* build-aux/install.sh.in: Update.
* build-aux/test-boot.sh: New file.
* build-aux/test-c.sh: New file.
* build-aux/test-driver: New file.
* build-aux/test-suite.sh: New file.
* build-aux/trace.sh: Update.
* build-aux/uninstall.sh.in: Update.
* configure: Update.
* configure.sh: Update.
* lib/linux/x86-mes-mescc/crt1.c: Move from lib/linux/x86-mes.
* lib/linux/x86-mes-mescc/mini.c: Likewise.
* lib/linux/x86_64-mes-mescc/crt1.c: Move from lib/linux/x86_64-mes.
* lib/linux/x86_64-mes-mescc/mini.c: Likewise.
* lib/linux/x86-mes-gcc/syscall.c: Rename from mes.c.
* lib/linux/x86-mes-mescc/syscall.c: Likewise.
* lib/linux/x86_64-mes-gcc/syscall.c: Likewise.
* lib/linux/x86_64-mes-mescc/syscall.c: Likewise.
* lib/mes/mes_open.c: Include config.h.
* lib/tests/stdio/70-printf-hello.c: Likewise.
* lib/tests/stdio/70-printf-simple.c: Likewise.
* scaffold/gc-test.sh: New file.
* simple.sh: Update.
2019-06-08 15:36:22 +02:00
..
data GNU Mes. 2018-07-22 14:24:36 +02:00
00-zero.scm GNU Mes. 2018-07-22 14:24:36 +02:00
01-true.scm GNU Mes. 2018-07-22 14:24:36 +02:00
02-identifier.scm GNU Mes. 2018-07-22 14:24:36 +02:00
02-symbol.scm GNU Mes. 2018-07-22 14:24:36 +02:00
2a-lambda-lambda.scm GNU Mes. 2018-07-22 14:24:36 +02:00
2b-define-lambda.scm GNU Mes. 2018-07-22 14:24:36 +02:00
2c-define-lambda-recurse.scm GNU Mes. 2018-07-22 14:24:36 +02:00
2d-compose.scm GNU Mes. 2018-07-22 14:24:36 +02:00
2d-define-lambda-set.scm GNU Mes. 2018-07-22 14:24:36 +02:00
2e-define-first.scm GNU Mes. 2018-07-22 14:24:36 +02:00
2f-define-second-lambda.scm Add missing copyright headers and READMEs. 2018-07-26 19:17:12 +02:00
2f-define-second.scm GNU Mes. 2018-07-22 14:24:36 +02:00
2g-vector.scm GNU Mes. 2018-07-22 14:24:36 +02:00
03-big-string.scm GNU Mes. 2018-07-22 14:24:36 +02:00
03-string.scm GNU Mes. 2018-07-22 14:24:36 +02:00
3a-global-define-lambda-override.scm Add missing copyright headers and READMEs. 2018-07-26 19:17:12 +02:00
04-cons.scm GNU Mes. 2018-07-22 14:24:36 +02:00
04-quote.scm GNU Mes. 2018-07-22 14:24:36 +02:00
4a-define-macro-define-macro.scm GNU Mes. 2018-07-22 14:24:36 +02:00
4b-define-macro-define.scm GNU Mes. 2018-07-22 14:24:36 +02:00
4c-quasiquote.scm mes: Move pair? to core. 2018-10-18 20:06:10 +02:00
4d-let-map.scm GNU Mes. 2018-07-22 14:24:36 +02:00
4e-let-global.scm GNU Mes. 2018-07-22 14:24:36 +02:00
4f-string-split.scm core: String as array of bytes. 2018-11-11 16:25:36 +01:00
05-big-list.scm GNU Mes. 2018-07-22 14:24:36 +02:00
05-list-list.scm GNU Mes. 2018-07-22 14:24:36 +02:00
05-list.scm GNU Mes. 2018-07-22 14:24:36 +02:00
06-tick.scm GNU Mes. 2018-07-22 14:24:36 +02:00
07-if.scm GNU Mes. 2018-07-22 14:24:36 +02:00
08-if-if.scm GNU Mes. 2018-07-22 14:24:36 +02:00
10-cons.scm GNU Mes. 2018-07-22 14:24:36 +02:00
11-list.scm GNU Mes. 2018-07-22 14:24:36 +02:00
11-vector.scm core: Add vector test. 2018-10-06 07:13:04 +02:00
12-car.scm GNU Mes. 2018-07-22 14:24:36 +02:00
13-cdr.scm GNU Mes. 2018-07-22 14:24:36 +02:00
14-exit.scm GNU Mes. 2018-07-22 14:24:36 +02:00
15-display.scm GNU Mes. 2018-07-22 14:24:36 +02:00
16-if-eq-quote.scm GNU Mes. 2018-07-22 14:24:36 +02:00
17-equal2.scm core: String as array of bytes. 2018-11-11 16:25:36 +01:00
17-memq-keyword.scm core: String as array of bytes. 2018-11-11 16:25:36 +01:00
17-memq.scm core: String as array of bytes. 2018-11-11 16:25:36 +01:00
17-open-input-string.scm core: String as array of bytes. 2018-11-11 16:25:36 +01:00
17-string-append.scm core: Add string-append. 2018-11-15 23:09:56 +01:00
17-string-equal.scm core: String as array of bytes. 2018-11-11 16:25:36 +01:00
20-define-quote.scm GNU Mes. 2018-07-22 14:24:36 +02:00
20-define-quoted.scm GNU Mes. 2018-07-22 14:24:36 +02:00
20-define.scm GNU Mes. 2018-07-22 14:24:36 +02:00
21-define-procedure.scm GNU Mes. 2018-07-22 14:24:36 +02:00
22-define-procedure-2.scm GNU Mes. 2018-07-22 14:24:36 +02:00
23-begin.scm GNU Mes. 2018-07-22 14:24:36 +02:00
24-begin-define.scm GNU Mes. 2018-07-22 14:24:36 +02:00
25-begin-define-2.scm GNU Mes. 2018-07-22 14:24:36 +02:00
26-begin-define-later.scm GNU Mes. 2018-07-22 14:24:36 +02:00
26-define-define.scm GNU Mes. 2018-07-22 14:24:36 +02:00
27-lambda-define.scm GNU Mes. 2018-07-22 14:24:36 +02:00
28-define-define.scm GNU Mes. 2018-07-22 14:24:36 +02:00
29-lambda-define.scm GNU Mes. 2018-07-22 14:24:36 +02:00
30-capture.scm GNU Mes. 2018-07-22 14:24:36 +02:00
31-capture-define.scm GNU Mes. 2018-07-22 14:24:36 +02:00
32-capture-modify-close.scm GNU Mes. 2018-07-22 14:24:36 +02:00
33-procedure-override-close.scm GNU Mes. 2018-07-22 14:24:36 +02:00
34-cdr-override-close.scm GNU Mes. 2018-07-22 14:24:36 +02:00
35-closure-modify.scm GNU Mes. 2018-07-22 14:24:36 +02:00
36-closure-override.scm GNU Mes. 2018-07-22 14:24:36 +02:00
37-closure-lambda.scm mes: Move pair? to core. 2018-10-18 20:06:10 +02:00
38-simple-format.scm mes: Move pair? to core. 2018-10-18 20:06:10 +02:00
39-global-define-override.scm Add missing copyright headers and READMEs. 2018-07-26 19:17:12 +02:00
40-define-macro.scm GNU Mes. 2018-07-22 14:24:36 +02:00
41-when.scm GNU Mes. 2018-07-22 14:24:36 +02:00
42-if-when.scm GNU Mes. 2018-07-22 14:24:36 +02:00
43-or.scm test: Resurrect running boot tests on Guile. 2019-05-27 22:57:44 +02:00
44-or-if.scm GNU Mes. 2018-07-22 14:24:36 +02:00
45-pass-if.scm test: Resurrect running boot tests on Guile. 2019-05-27 22:57:44 +02:00
46-report.scm test: Resurrect running boot tests on Guile. 2019-05-27 22:57:44 +02:00
47-pass-if-eq.scm test: Resurrect running boot tests on Guile. 2019-05-27 22:57:44 +02:00
48-let.scm test: Resurrect running boot tests on Guile. 2019-05-27 22:57:44 +02:00
49-macro-override.scm GNU Mes. 2018-07-22 14:24:36 +02:00
50-keyword.scm core: String as array of bytes. 2018-11-11 16:25:36 +01:00
50-make-string.scm core: Add string-append. 2018-11-15 23:09:56 +01:00
50-primitive-load.scm GNU Mes. 2018-07-22 14:24:36 +02:00
50-string-join.scm core: Add string-append. 2018-11-15 23:09:56 +01:00
51-module.scm build: Simplify. 2019-06-08 15:36:22 +02:00
52-define-module.scm core: Add string-append. 2018-11-15 23:09:56 +01:00
53-closure-display.scm core: Add module indirection for variable lookup. 2018-10-14 08:30:18 +02:00
60-let-syntax-expanded.scm test: Resurrect running boot tests on Guile. 2019-05-27 22:57:44 +02:00
60-let-syntax.scm core: String as array of bytes. 2018-11-11 16:25:36 +01:00
call-cc.scm GNU Mes. 2018-07-22 14:24:36 +02:00
memory.scm GNU Mes. 2018-07-22 14:24:36 +02:00
numbers.scm Add missing copyright headers and READMEs. 2018-07-26 19:17:12 +02:00