Commit Graph

5 Commits

Author SHA1 Message Date
Jan Nieuwenhuizen c81480c3fe
core: eval-apply: Prepare for M2-Planet.
* src/eval-apply.c (apply_builtin): Split M2-Planet specific and CC
specifi part off to ..
* src/cc.c: New file, and
* src/m2.c: New file.
2019-11-03 09:57:17 +01:00
Jan Nieuwenhuizen 9b6ef58b10
test: Test-gc.
* src/test/gc.c (main): New unit test.
* simple.make (test-gcc, test-m2): New target to build it.
* build-aux/pointer.sh: Add it.
2019-11-02 21:32:46 +01:00
Jan Nieuwenhuizen 91277b44c9
core: Split-out stack.c
* src/lib.c (exit_, frame_printer, make_frame_type, make_frame,
make_stack_type, make_stack, stack_length, stack_ref_): Move to ..
* src/posix.c (exit_): Here and to ..
* src/core.c: New file.
* build-aux/build-mes.sh (mes_sources): Add it.
* simple.make (LIBMES_SOURCES): Likewise.
2019-11-02 21:27:35 +01:00
Jan Nieuwenhuizen 68c09f880c
core: Split-off core.c.
* src/mes.c (assoc_string, car, cdr, list, null_p, eq_p, values, acons,
length__, length, error, append2, append_reverse, reverse_x_, assq,
assoc): Move to ...
* src/core.c: New file.
* build-aux/build-mes.sh (mes_sources): Likewise.
* simple.make (MES_SOURCES): Add it..
2019-11-02 21:27:35 +01:00
Jan Nieuwenhuizen d46e9dc7a2
build: Add pointer.sh.
* build-aux/pointer.sh: New script.
2019-11-02 19:13:11 +01:00