mes/tests
Jan Nieuwenhuizen 25c29ecb6d core: Integrate garbage collector/jam scraper.
* mes.c (r0, r1, r2, r3, stack):  New globals.
  (gc_loop): Handle MACRO and SCM.
  (gc_copy): Handle FUNCTION, allow for pre-allocated SCM and SYMBOL.
  (assq): Flag any BROKEN_HEARTs.
  (vm_call): New function.  Enables moving C stack to GC stack.
  (evlis_env, apply_env, eval_env, expand_macro_env, begin_env,
  if_env): Use vm_call-indirection.
  (call_lambda): New function.
  (vm_apply_env): Rename from apply_env.  Remove parameters, instead
  use r1, r2 and r0.
  (vm_evlis_env, vm_eval_env, vm_expand_macro_env, vm_begin_env,
  vm_if_env): Likewise.
  (acons): New function.
  (mes_environment) [!MES_FULL, MES_MINI]: Add cpp switches to create minimally
  filled environment, for debugging.
  (main): Print free value at exit.
* define.c (define_env): Use vm_call-indirection.
  (vm_define_env): Rename from define_env.
* quasiquote.c (eval_quasiquote): Use vm_call-indirection.
  (vm_eval_quasiquote): Rename from eval_quasiquote.
* tests/gc-2.test: New test.
  tests/gc-2a.test: New test.
  tests/gc-3.test: New test.
2016-12-12 20:35:18 +01:00
..
data Implement load. 2016-12-12 20:33:49 +01:00
base.test core: Integrate garbage collector/jam scraper. 2016-12-12 20:35:18 +01:00
closure.test test: Add psyntax closure tests. 2016-12-12 20:33:50 +01:00
cwv.test test: More values, call-with-values tests. 2016-12-12 20:33:49 +01:00
gc-0.test Add sicp garbage example: tests/gc-1.test. 2016-12-12 20:35:18 +01:00
gc-1.test Add sicp garbage example: tests/gc-1.test. 2016-12-12 20:35:18 +01:00
gc-2.test core: Integrate garbage collector/jam scraper. 2016-12-12 20:35:18 +01:00
gc-2a.test core: Integrate garbage collector/jam scraper. 2016-12-12 20:35:18 +01:00
gc-3.test core: Integrate garbage collector/jam scraper. 2016-12-12 20:35:18 +01:00
gc.test Add mes gc test setup. 2016-12-12 20:35:18 +01:00
let-syntax.test Add syntax-case based syntax-rules. 2016-12-12 20:33:49 +01:00
let.test make tests standalone executable. 2016-10-19 00:36:12 +02:00
match.test Finalize psyntax integration. 2016-12-12 20:33:49 +01:00
psyntax.test Finalize psyntax integration. 2016-12-12 20:33:49 +01:00
quasiquote.test make tests standalone executable. 2016-10-19 00:36:12 +02:00
record.test Finalize psyntax integration. 2016-12-12 20:33:49 +01:00
scm.test test: More values, call-with-values tests. 2016-12-12 20:33:49 +01:00
vector.test Introduce reference type, use vectors of SCM. 2016-12-12 20:33:48 +01:00