Commit graph

9 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
f8a3296372 moving apply to vm.c
copying lambda param lists on creation
2010-05-15 13:05:50 +09:00
Alex Shinn
a7794e8189 only conditionally defining _GNU_SOURCE to avoid warning (issue 48) 2010-03-30 22:03:30 +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
f866875e68 adding alignment bytcode patch for ARM 2010-03-09 20:28:32 +09:00
Alex Shinn
670a4ae67b adding option to mmap heaps instead of mallocing them 2010-02-25 23:58:57 +09:00
Alex Shinn
6fb2d4cf21 adding mechanism to statically include modules which use C code 2010-01-22 00:24:28 +09:00
Alex Shinn
d954819775 adding (chibi io) w/ interface to fgets, fread, fwrite, etc. 2009-12-31 00:24:19 +09:00