Commit graph

93 commits

Author SHA1 Message Date
Alex Shinn
e0151c2a51 Proper undefined identifier warnings for libraries.
Works with begin and include, order no longer matters.
2012-03-01 21:51:05 +09:00
Alex Shinn
5633b1dcf9 Order of arguments flipped for make-rtd. 2012-02-12 13:38:25 +09:00
Alex Shinn
5257e7f4d7 renaming symbol accessors to lsymbol, and clarifying the use of SEXP_USE_SAFE_ACCESSORS 2012-01-22 13:53:27 +09:00
Alex Shinn
ad46061a5b various srfi-1 fixes 2012-01-22 11:38:49 +09:00
Alex Shinn
6fa22a8cb0 Fixing procedure-code and procedure-vars definitions, which were incorrectly using slots. 2012-01-15 12:04:05 +00:00
Alex Shinn
087f2170f8 Adding call-with-process-io and other process utilities. 2012-01-11 00:06:36 +09:00
Alex Shinn
f77366f1ad Adding open(2) interface. 2012-01-11 00:03:57 +09:00
Alex Shinn
1dd61a26f3 Adding support for bi-directional ports, and making (chibi net) use them for sockets.
Also modifying FFI to automatically make input ports non-blocking,
and fixing R7RS incompatibility where closing an already closed
port signalled an error.
2012-01-05 23:39:00 +09:00
Alex Shinn
663f34000c Escaping "@" in documentation. 2012-01-04 16:02:51 +09:00
Alex Shinn
944561b4da Reducing floating point errors in iota. 2012-01-04 15:11:12 +09:00
Alex Shinn
904ae5743e Updating the front of the thread list when a signal is caught.
This fixes the delay caused when a signal is caught while only a
single other thread is running.
2011-12-25 17:14:01 +09:00
Alex Shinn
52a3f55721 Making exceptions properly thread-local. 2011-12-25 16:28:53 +09:00
Alex Shinn
87970984c7 Defining with-in/output-from/to-file in terms of dynamic-wind. 2011-12-20 00:58:27 +09:00
Alex Shinn
24b43e367b Providing scheme versions of some I/O functions when string streams aren't used. 2011-12-17 15:55:10 +09:00
Alex Shinn
620eba1169 Per R7RS, cond-expand doesn't signal an error when there are no matching clauses.
You can still use syntax-error to explicitly signal an error.
2011-12-17 15:54:35 +09:00
Alex Shinn
348b176172 Syncing some feature names with R7RS draft. 2011-12-17 15:26:26 +09:00
Alex Shinn
9f25895e8c FFI needs to check for FILE* backed ports when wrapping a C function that expects a FILE* and string streams are not supported.
Also fixing bug in make-custom-output-port that didn't check for exceptions.
2011-12-17 14:51:58 +09:00
Alex Shinn
9a8395c69d Fixing order of prefix import spec. 2011-12-15 22:12:11 +09:00
Alex Shinn
72a2f237c7 removing a warning in accept.c and verifying non-thread lib tests all pass w/o threads. 2011-12-09 21:31:50 +09:00
Alex Shinn
1c60d4b5eb fixing (chibi process) build when threads are disabled. 2011-12-09 21:28:57 +09:00
Alex Shinn
9499258d9a (srfi 39) now works without threads 2011-12-09 21:15:57 +09:00
Lorenzo Campedelli
0d5ac322fd Fixing srfi-38 parsing non-decimal numbers followed by EOF or containing the #\f digit.
Added related tests.
2011-12-08 10:56:46 +01:00
Alex Shinn
aa07c6b022 Adding tab-completion on all identifiers in the current environment. 2011-12-04 20:35:41 +09:00
Alex Shinn
81567045f3 Adding environment-parent binding so we can traverse a full env hierarchy. 2011-12-04 20:35:13 +09:00
Alex Shinn
ca55194c78 Adding hook for basic tab-completion. 2011-12-04 20:32:36 +09:00
Alex Shinn
f2502229e6 Warn when importing bad bindings with `only'. 2011-12-04 13:43:34 +09:00
Alex Shinn
cd708b9f90 Fixing only/except/rename modified importing from (chibi repl). 2011-12-04 13:25:29 +09:00
Alex Shinn
a991cedec4 Bugfix, wasn't extracting env from the meta module. 2011-12-04 13:13:47 +09:00
Alex Shinn
46008a0cc0 renaming quote in repl-import 2011-11-30 09:20:38 +09:00
Alex Shinn
ab5398bba0 fix reading numbers beginning with "." in srfi-38 2011-11-29 21:47:54 +09:00
Alex Shinn
e7dbddadef non-standard extension - allowing empty expressions in case clauses 2011-11-28 20:51:34 +09:00
Alex Shinn
5f63567db0 adding division tests and putting (scheme division) in the public domain 2011-11-28 08:37:06 +09:00
Alex Shinn
61a65ae219 implementing symbol->string in C to avoid outputting the escape syntax 2011-11-27 22:37:14 +09:00
Alex Shinn
a5fbdccbfc fixing numerator/denominator definitions on inexacts when ratios are supported 2011-11-27 22:25:03 +09:00
Alex Shinn
1d15785f23 making gcd and lcm n-ary 2011-11-27 21:55:32 +09:00
Alex Shinn
a4bd018480 map handles mismatched list lengths when the first list isn't the shortest 2011-11-27 21:43:58 +09:00
Alex Shinn
b84dba8425 infinities are not rational 2011-11-27 21:40:50 +09:00
Alex Shinn
3675f3a5ea forgot to cdr in list-set! 2011-11-27 21:32:31 +09:00
Alex Shinn
6ec7cbf766 handling => in case 2011-11-27 21:07:25 +09:00
Alex Shinn
6f85c98d12 bytevector io fixes 2011-11-26 17:01:20 +09:00
Alex Shinn
c3fea1f765 smarter string-copy for utf8 2011-11-26 16:58:39 +09:00
Alex Shinn
e608bec866 using result length from fread; string-count optimized and safe for invalid strings. 2011-11-26 13:04:51 +09:00
Alex Shinn
8094d585b8 Fixing (scheme char) imports after earlier refactoring; adding definitions for finite? and nan?. 2011-11-26 11:35:32 +09:00
Alex Shinn
4d23c1e7c5 adding basic process and system tests, with some fixes 2011-11-24 10:11:12 +09:00
Alex Shinn
e1731fabf3 FFI struct types no longer use global variables (with improved type-inference as a bonus) 2011-11-24 01:20:47 +09:00
Alex Shinn
cd91d4aa72 fix to avoid maxing cpu when we want to wait on an fd 2011-11-22 21:15:05 +09:00
Alex Shinn
3b116b3189 fix to use max-connections arg, and changing bind and listen to return booleans 2011-11-22 20:15:59 +09:00
Alex Shinn
f19e55cf2a adding get-socket-option and set-socket-option! 2011-11-22 09:23:37 +09:00
Alex Shinn
bb53a03fb8 accept handles non-blocking correctly 2011-11-21 20:42:49 +09:00
Alex Shinn
71922c284a we can now block on fd's directly with no port 2011-11-21 20:41:53 +09:00