mes/tests
Jan Nieuwenhuizen d209a18121 Introduce reference type, use vectors of SCM.
* mes.c (type): Add REF.
  (scm_t): Add ref, change vector to *scm_t.  Update users.
  (alloc): New function.
  (cons, make_char, make_macro, make_number, make_string,
  internal_make_symbol, make_vector): Use it.
  (make_ref): New function.
  (vector_entry): New function.
  (make_vector, list_to_vector, vector_set_x): Use it.
  (vector_ref): Dereference REF entry.
  (display_helper): Handle REF.
* lib.c (vector_to_list): Handle REF.
* type.c (ref_p): New function.
* tests/vector.test (vector list): New test.

Bugfix vector-ref.

* mes.c (vector-ref): Make copies of simple values.  Fixes lalr.
* tests/vector.test (vector-set! 3): New test.
2016-12-12 20:33:48 +01:00
..
base.test make tests standalone executable. 2016-10-19 00:36:12 +02:00
closure.test Add report to closure test. 2016-10-18 19:10:16 +02:00
let-syntax.test make tests standalone executable. 2016-10-19 00:36:12 +02:00
let.test make tests standalone executable. 2016-10-19 00:36:12 +02:00
match.test make tests standalone executable. 2016-10-19 00:36:12 +02:00
quasiquote.test make tests standalone executable. 2016-10-19 00:36:12 +02:00
record.test make tests standalone executable. 2016-10-19 00:36:12 +02:00
scm.test boot: fix builtin? tests. 2016-10-21 11:14:33 +02:00
vector.test Introduce reference type, use vectors of SCM. 2016-12-12 20:33:48 +01:00