mes/build-aux
Jan Nieuwenhuizen 99ac7b59c4
core: Remove struct definitions for builtins, drop snarfing.
After making a change to the list of builtin functions, run

    cat src/*.i

and move the into

    src/mes.c:mes_builtins ()

and, or also after changing the list of fixed symbols in src/mes.c:mes_symbols (), do

    cat src/*.h > src/builtins.h

* build-aux/build.sh.in: Remove snarfing.
* build-aux/bootstrap.sh.in: Likewise.
* mes/module/mes/display.mes (display):
* mes/module/mes/type-0.mes (cell:type-alist): Remove <cell:function>.
(function?, builtin?): Remove.
* src/builtins.h: New file.
* src/mes.c (TFUNCTION): Remove.
(struct function): Remove.
(apply_builtin): Rewrite from call.
(mes_builtins): Rewrite.
(init_builtin, make_builtin_type, make_builtin, builtin_name,
builtin_arity, builtin, builtin_p, builtin_printer): New function.
2019-01-04 09:55:16 +01:00
..
bootstrap-mes.sh build: Simplify: cater for one compiler at a time. 2018-11-06 20:29:35 +01:00
bootstrap.sh.in core: Remove struct definitions for builtins, drop snarfing. 2019-01-04 09:55:16 +01:00
build-guile.sh mescc: Run without shell. 2018-11-25 13:21:03 +01:00
build-mes.sh core: String as array of bytes. 2018-11-11 16:25:36 +01:00
build.sh.in core: Remove struct definitions for builtins, drop snarfing. 2019-01-04 09:55:16 +01:00
cc.sh build: Simplify: cater for one compiler at a time. 2018-11-06 20:29:35 +01:00
check-boot.sh core: Add string-append. 2018-11-15 23:09:56 +01:00
check-mes.sh core: String as array of bytes. 2018-11-11 16:25:36 +01:00
check-mescc.sh build: Simplify: cater for one compiler at a time. 2018-11-06 20:29:35 +01:00
check-tcc.sh build: Simplify: cater for one compiler at a time. 2018-11-06 20:29:35 +01:00
check.sh.in build: Simplify: cater for one compiler at a time. 2018-11-06 20:29:35 +01:00
config.make.in build: Simplify: cater for one compiler at a time. 2018-11-06 20:29:35 +01:00
config.sh core: String as array of bytes. 2018-11-11 16:25:36 +01:00
config.status.in build: Simplify: cater for one compiler at a time. 2018-11-06 20:29:35 +01:00
export.make build: Simplify: cater for one compiler at a time. 2018-11-06 20:29:35 +01:00
gendocs.sh build: web: New target. 2018-07-28 11:37:47 +02:00
gitlog-to-changelog Prepare for 0.1 release: gnu-build-system. 2016-10-16 00:34:23 +02:00
GNUmakefile.in build: Simplify: cater for one compiler at a time. 2018-11-06 20:29:35 +01:00
install.sh.in build: Support building with Gash. 2018-11-24 21:07:31 +01:00
manifest.scm build: Generate gcc-mesboot-graph from .dot. 2018-07-22 22:27:24 +02:00
mes-snarf.scm core: String as array of bytes. 2018-11-11 16:25:36 +01:00
pre-inst-env.in build: Support running out-of-tree. 2018-12-27 16:36:39 +01:00
setup-mes.sh Add missing copyright headers. 2018-07-23 19:10:34 +02:00
snarf.sh core: Remove struct definitions for builtins, drop snarfing. 2019-01-04 09:55:16 +01:00
test-cc.sh build: Simplify: cater for one compiler at a time. 2018-11-06 20:29:35 +01:00
test.sh build: Support building with Gash. 2018-11-24 21:07:31 +01:00
trace.sh build: remove bashism. 2018-10-05 21:24:14 +02:00
uninstall.sh.in build: Simplify: cater for one compiler at a time. 2018-11-06 20:29:35 +01:00