Commit graph

650 commits

Author SHA1 Message Date
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
Alex Shinn
8e1d91ec69 closing thread-local params 2010-12-06 21:53:46 -08:00
Alex Shinn
6a239130af don't preserve the same object multiple times in bytecode-literals 2010-12-06 21:37:54 -08:00
Alex Shinn
bfb55fd88c merge 2010-12-06 21:08:17 -08:00
Alex Shinn
c4b3e128f1 making basic port operations (open-{in,out}put-file, close-port)
as well as identifier?, identifier=? and identifier->symbol available
from the C API (fixes #55).
2010-12-06 21:06:46 -08:00
Alex Shinn
a7c9e0982a updating genstatic.scm with the new C calling convention.
fixes #54 (thanks to Andreas Rottman)
2010-12-06 20:36:15 -08:00
Alex Shinn
695b44332e adding interface to bytecode-literals
(need to check these when debugging gc)
2010-12-05 16:53:38 -08:00
Alex Shinn
2eaf4068e5 several gc bugfixes (fixes #52) 2010-12-05 16:50:57 -08:00
Alex Shinn
9802b38ccb small bug handling type checks in compile 2010-11-22 23:04:44 -08:00
Alex Shinn
7126e196d8 don't use same stack for eval 2010-11-22 22:43:17 -08:00
Alex Shinn
19dc018d35 fixing uninitialized variable bug 2010-11-22 21:58:24 -08:00
Alex Shinn
c01721e110 Replacing eval opcode with compile + normal application. 2010-11-18 21:37:46 -08:00
Alex Shinn
c3e1d41601 using #include <errno.h>, not sys/errno.h 2010-09-26 22:27:57 +09:00
Alex Shinn
2d34a57362 recursive make should use $(MAKE)
(do we really need recursive make?)
2010-09-26 22:06:42 +09:00
Alex Shinn
d31a14855e sexp_read_bignum should take a signed char 2010-09-26 22:05:42 +09:00
Alex Shinn
09a5565418 adding ..1' patterns to match (analog of regex +' patterns) 2010-09-26 13:56:30 +09:00
Alex Shinn
67af0bb675 these were supposed to be included in the previous patch 2010-09-26 01:08:12 +09:00
Alex Shinn
5ec136adcb more parameter updates
exception handling in (chibi repl) still broken
2010-09-26 01:04:55 +09:00
Alex Shinn
83e91a20c7 supporting parameter converters on mutation, not just parameterize.
also fixing bug in interaction-environment parameter from default repl.
2010-09-24 22:46:01 +09:00
Alex Shinn
2144164793 removing comments 2010-09-24 22:02:33 +09:00
Alex Shinn
0c91c437c0 parameters are now thread-local 2010-09-24 13:00:20 +00:00
Alex Shinn
276db59353 fixed parameter mutation (not triggered in current test suite, need to add a case for this) 2010-09-24 21:48:08 +09:00
Alex Shinn
0fb820a8e3 ensuring parameters start with an empty cell 2010-09-24 08:08:36 +09:00
Alex Shinn
b95a7cac42 parameters now check for thread-specific overrides (still need to set these in parameterize) 2010-09-24 07:23:43 +09:00
Alex Shinn
2e7ffacb9f adding some TODO items 2010-09-21 23:21:45 +09:00
Alex Shinn
9b85812f4a merge 2010-09-21 12:58:18 +00:00
Alex Shinn
13b5137626 adding some initial shootout benchmarks 2010-09-21 12:57:34 +00:00
Alex Shinn
df150c362d adding basic generics, orthogonal to records
Debating adding concept of more "specific" methods based on record
inheritence.  Lots of room for optimization.
2010-09-21 12:56:56 +00:00
Alex Shinn
19d5d3913b adding srfi-55 (trivial with chibi module syntax) 2010-09-21 12:54:28 +00:00
Alex Shinn
2e7549c0f3 adding weak vectors 2010-09-20 23:06:39 +09:00
Alex Shinn
78ac092a49 adding (gc) to (chibi ast) module 2010-09-20 23:06:21 +09:00
Alex Shinn
078ee010aa fixes to remove gcc initialization warnings with -On 2010-09-20 20:21:59 +09:00
Alex Shinn
9d8788414f preserving necessary objects when destroying contexts with safe accessors
(also removing some gcc warnings)
2010-09-20 20:12:07 +09:00
Alex Shinn
c91d982473 removing port? definition now in core 2010-09-19 12:16:27 +09:00
Alex Shinn
acf3d1c120 fixes for SEXP_USE_SAFE_ACCESSORS on macosx 2010-09-18 14:50:24 +09:00
Alex Shinn
f3901c1957 SEXP_USE_SAFE_ACCESSORS now works for [io]ports and sexp_vector_ref 2010-09-17 16:16:42 +00:00
Alex Shinn
ed84dbc2f1 fixing what looks like a merge bug 2010-09-17 16:15:49 +00:00