Commit graph

836 commits

Author SHA1 Message Date
Alex Shinn
8d1db07541 need to write top whenever we might cons
(consider always writing once at the start of the loop or using a
simple vector for the stack and just undefining values when we pop)
2011-02-12 20:44:34 +09:00
Alex Shinn
ca46c64be5 more precise heap end checks 2011-02-12 20:20:53 +09:00
Alex Shinn
3804c0ecb2 s/gc_mark/markedp to avoid confusion with the mark command 2011-02-12 17:03:58 +09:00
Alex Shinn
3aeef15032 cleaning up gc debug 2011-02-12 17:00:55 +09:00
Alex Shinn
14f586453f debugging result when DEBUG_VM is set 2011-02-12 16:59:51 +09:00
Alex Shinn
369836d07b scripts should trace when DEBUG_VM is set 2011-02-12 16:59:19 +09:00
Alex Shinn
22deffb46e read will truncate floating point numbers if SEXP_USE_FLONUMS is false 2011-02-12 15:57:52 +09:00
Alex Shinn
c17e9b64b0 don't check tags of free blocks when debugging 2011-02-10 00:46:37 +09:00
Alex Shinn
10ce6a47cb fixing GC_DEBUG>=2 2011-02-10 00:44:00 +09:00
Alex Shinn
7fc2c9d716 promises aren't necessarily a type! 2011-02-09 10:14:41 -05:00
Alex Shinn
e455d7b2cb don't print any debug info about potentially invalid objects 2011-02-09 23:45:25 +09:00
Alex Shinn
fa730ee28e applying SAFE_GC_MARK debug checks before dereferencing objects 2011-02-09 23:43:44 +09:00
Alex Shinn
630eb235ab adding debug messages during mark 2011-02-09 23:34:33 +09:00
Alex Shinn
3b5a2b98cf cleaning up gc debugging 2011-02-09 23:16:37 +09:00
Alex Shinn
e94dc40c00 removing libchibi-scheme on make cleaner 2011-02-09 22:51:32 +09:00
Alex Shinn
03198030c1 uncommenting out import 2011-01-27 22:14:58 +09:00
Alex Shinn
d5bd3fa44d fixing bug when matching tail patterns against improper lists 2011-01-27 21:37:03 +09:00
Alex Shinn
5850f2b6c1 need to build ast library 2011-01-27 21:36:36 +09:00
Alex Shinn
2c036c7e7a adding experimental auto-force capability 2011-01-11 22:54:23 +09:00
Alex Shinn
5aeb7edaff preserving to be on the safe-side 2011-01-11 22:53:51 +09:00
Alex Shinn
bb7cae7e92 adding a utility to make sure I'm using valid definitions 2011-01-10 23:21:02 +09:00
Alex Shinn
e57a587216 Can conservatively preserve only one type of value for debugging. 2011-01-10 17:16:11 +09:00
Alex Shinn
a82a13094d Fixing heap checks when using header magic or tracking alloc sources. 2011-01-10 16:51:48 +09:00
Alex Shinn
8d13b7ace8 heap-stats will now build with Boehm, but just as a noop 2011-01-09 16:25:58 +09:00
Alex Shinn
9706f6bcc3 Link ast.so with GCLDFLAGS for when compiling with Boehm. 2011-01-09 16:21:51 +09:00
Alex Shinn
29a96ccd8a fixing boehm build 2011-01-09 16:08:56 +09:00
Alex Shinn
8a5dbdd8d6 exporting open-pipe and make-fifo 2011-01-04 21:06:48 +09:00
Alex Shinn
00183780fa don't make stdout/err non-blocking 2011-01-04 19:16:48 +09:00
Alex Shinn
f555b50083 fixing bug in length+ 2011-01-02 23:12:46 +09:00
Alex Shinn
23382e9540 allowing per-heap maximum size limit as a new argument to sexp_make_eval_context
can specify on the command line with -h 1M/2M (set to 0 for no limit)
2010-12-30 11:26:15 +09:00
Alex Shinn
f12cbe8191 adding record, thread and utf8 tests to lib tests 2010-12-29 18:37:45 +09:00
Alex Shinn
7306b55350 adding ability to track the alloc source of objects 2010-12-29 18:33:37 +09:00
Alex Shinn
5371a7bad3 adding additional checks for EOF 2010-12-29 17:52:27 +09:00
Alex Shinn
0ecb8ea665 checking for eof when reading a list 2010-12-29 16:14:06 +09:00
Alex Shinn
c163599685 making stack trace check for null procedures 2010-12-29 16:13:30 +09:00
Alex Shinn
74185fbe11 simpler bitwise-not 2010-12-29 15:44:12 +09:00
Alex Shinn
ce2bf8ce77 adding Makefile shortcut for building with SEXP_USE flags 2010-12-29 15:43:31 +09:00
Alex Shinn
754f21ddcf setting default context event to #f (otherwise thread-sleep! will crash) 2010-12-27 13:03:59 +00:00
Alex Shinn
a9678e5378 define doesn't overwrite existing imported bindings.
default repl env also imports standard env rather than using it
directly so redefining primitives doesn't affect standard macros.
2010-12-26 17:49:23 +09:00
Alex Shinn
96161ffcf6 fixing non-threaded build 2010-12-26 14:24:19 +09:00
Alex Shinn
bc8e98c556 include size of parent slots for full cpl when registering an inherited type 2010-12-26 10:22:13 +09:00
Alex Shinn
1e71833719 no need to remove .dSYM 2010-12-26 10:21:18 +09:00
Alex Shinn
c114357859 open-input-file creates non-blocking ports 2010-12-11 22:37:41 -08:00
Alex Shinn
d29eea3780 need to check for errno == EAGAIN in sexp_maybe_block_port 2010-12-11 22:30:44 -08:00
Alex Shinn
73d5083d10 automatically adding blocking checks on input-port args in the stubber 2010-12-11 22:27:54 -08:00
Alex Shinn
2affd2c677 creating initial API for C functions to block on input ports 2010-12-11 22:15:17 -08:00
Alex Shinn
59b4a306dc wait for default 10ms when blocking w/o timeout 2010-12-11 15:36:06 -08:00
Alex Shinn
9c5dee322a makefile cleanup, setting proper dependencies for tests 2010-12-11 15:14:45 -08:00
Alex Shinn
840ef090bd adding unicode tests, fixing substring & make-string 2010-12-08 22:57:13 -08:00
Alex Shinn
6a10550dad allowing unicode character names 2010-12-06 23:35:24 -08:00