core: Always include reader.c, drop binary read-0-32.mo dependency.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 28 May 2017 14:03:45 +0000 (16:03 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 28 May 2017 14:03:45 +0000 (16:03 +0200)
commit9f56b8b102d8599441884bf43b92f1007d82a138
tree787b2bd6c0b2e129053609d509d52c62b3fd6517
parentf6671eaf3eb8f3991a1ea81a111e62ac72b29da6
core: Always include reader.c, drop binary read-0-32.mo dependency.

* module/language/c99/compiler.mes (c99-input->full-ast): Remove
  obsolete __NYACC__ and MES_FULL defines.
* src/mes.c [!MES_FULL]: Include reader-mes.h.
  (mes_builtins) [!MES_FULL]: Include reader.mes.i, reader.me.environment.i.
  [!MES_FULL]: Include reader.c.
  (main) [!MES_FULL]: By default call load_env, only call bload_env
  when --load is supplied.  WAS: Always bload read-0-32.mo.
* src/reader.c (__end_of__mes_): Remove.
  (dump): Remove option of dumping tiny test program.
* make/mescc-mes.make ($(OUT)/$(TARGET), mescc.mes-ccompile,
  mescc.mes.c-compile-E): Depend on $(OUT)/mes, scripts/mes.
* src/src.make (mes.guile): Remove module/mes/read-32-0 dependency.
  Do not build $(OUT)/mes.mes.
* module/module.make (module/mes/read-0.mo, module/mes/read-0-32.mo,
  module/mes/tiny-0-32.mo): Remove targets.
  (CLEAN): Do not add them.  Neither install $(OUT)/mes.mes.
* .gitignore: Remove exceptions for them.
* make/install.make (install): Do not install them.
* HACKING: Update info about creating module/mes/read-32-0.mo.
* scaffold/mini-mes.c: Remove.
* scaffold/tiny-mes.c: Remove.
* scaffold/cons-mes.c: Remove.
* scaffold/scaffold.make (tiny-mes.libc, tiny-mes.guile, tiny-mes.mes,
  mini-mes.libc, mini-mes.guile, mini-mes.mes): Reemove targets.
14 files changed:
.gitignore
HACKING
make/install.make
make/mescc-mes.make
module/language/c99/compiler.mes
module/module.make
scaffold/cons-mes.c [deleted file]
scaffold/mini-mes.c [deleted file]
scaffold/scaffold.make
scaffold/tiny-mes.c [deleted file]
scripts/mes [deleted symlink]
src/mes.c
src/reader.c
src/src.make