mescc: Run module/base-0.mes.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 26 Mar 2017 19:13:01 +0000 (21:13 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 26 Mar 2017 19:13:01 +0000 (21:13 +0200)
commit66b53669f8e08c89730c1b4ed0a894051903acf5
treef6f221abfc6b4b3014e4d0d7ce387868a74b8f2e
parente460771988c6b8739c0feac376d24352305a1899
mescc: Run module/base-0.mes.

* gc.c: New file.
* vector.c: New file.
* mes.c: Remove vector and gc functions, include vector.c, gc.c.
* GNUmakefile (mes.o): Add gc, vector dependencies.
* scaffold/mini-mes.c (eval_apply): Support primitive-load through
  read_input_file.
  (getenv_, open_input_file, current_input_port,
  set_current_input_port force_output, exit_, values, arity_, xassq,
  is_p, minus, plus, divide, modulo multiply, logior, ash): New function.
  (mes_symbols): Add symbols %gnuc, %mesc.
* scaffold/mini-mes.c (): New functions.
* scaffold/b-0.mes: New file.
* scaffold/t-0.mes: New file.
17 files changed:
GNUmakefile
gc.c [new file with mode: 0644]
guile/mescc.scm
lib.c
math.c
mes.c
mlibc.c
module/language/c99/compiler.mes
module/mes/display.mes
module/mes/libc.mes
module/mes/read-0-32.mo [deleted file]
posix.c
scaffold/b-0.mes [new file with mode: 0644]
scaffold/mini-mes.c
scaffold/t-0.mes [new file with mode: 0644]
scaffold/t.c
vector.c [new file with mode: 0644]