mescc: Support mini-mes running scheme program with builtins.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 12 Mar 2017 11:02:12 +0000 (12:02 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 12 Mar 2017 11:02:12 +0000 (12:02 +0100)
commit03c37b2e22d348c38e3f1090beeb35a9a6c33c45
tree74db8b478fe1c77f75e360b880a3d55cdcdf6594
parent1322d99c22f53a93c7287408b47fa825c02d0de5
mescc: Support mini-mes running scheme program with builtins.

Mini-mes, compiled with either gcc or mescc, now runs a memory dump of
this mini-0.mes program

(begin
  (write-byte (make-cell 0 0 65))
  (write-byte (make-cell 0 0 66))
          (write-byte (make-cell 0 0 67))
    (write-byte (make-cell 0 0 10))
  #f)

when read and dumped by (gcc-compiled) mes-32.

* build-aux/mes-snarf.scm: FIXES ..collapse?
* module/language/c99/compiler.mes (ast->info): Bail out on unhandled
  declarations.  Was: verbosely skip.
GNUmakefile
build-aux/mes-snarf.scm
module/language/c99/compiler.mes
module/mes/elf.mes
module/mes/libc-i386.mes
scaffold/cons-mes.c
scaffold/mini-mes.c
scaffold/t.c