Commit graph

8 commits

Author SHA1 Message Date
foof
a24de22094 gc bug fixes, adding optional gc debugging utils 2010-06-21 14:42:36 +00:00
Alex Shinn
758e423c1b fixing signedness bug in heap growing heuristics 2010-04-20 22:30:38 +09:00
Alex Shinn
d5ddfe6a92 changing type_exception to use self and a type_id
this simplifies and reduces the number of different static strings.
specific error messages are still available with sexp_xtype_exception.
2010-04-04 10:10:17 +09:00
Alex Shinn
a89956fc16 new primitives API
Primitives now have a signature of prim(ctx, self, n, args ...)
instead of just prim(ctx, args ...).  This allows for variadic
primitives, should help clean up exception handling, and will
allow primitives generated from Scheme->C or JIT compilation.

The primitives sometimes used as utility functions from C such as
sexp_memq have been renamed with a "_op" suffix (e.g. sexp_memq_op)
and a macro sexp_memq has been provided filling in the self and n
args automatically.  The self is passed as NULL in these macros,
but will be probably replaced with a reference to the opcode later.
2010-03-24 19:58:50 +09:00
Alex Shinn
725316ad3c initial sexp_copy_context - need utils to dump/load initial image 2010-03-13 23:19:52 +09:00
Alex Shinn
fea1b696a4 adding patches for C++ 2010-02-27 23:57:54 +09:00
Alex Shinn
670a4ae67b adding option to mmap heaps instead of mallocing them 2010-02-25 23:58:57 +09:00
Alex Shinn
d954819775 adding (chibi io) w/ interface to fgets, fread, fwrite, etc. 2009-12-31 00:24:19 +09:00