Commit graph

1487 commits

Author SHA1 Message Date
Alex Shinn
83a2de519c Fixing #| ... |# comments. 2012-11-03 23:29:13 +09:00
Alex Shinn
b3005cc0ee log takes two arguments now 2012-11-03 23:07:18 +09:00
Alex Shinn
369a4b01fb Updating R7RS tests. 2012-11-02 00:04:32 +09:00
Alex Shinn
9cae7fada9 Supporting hex char escapes in extended reader. 2012-11-02 00:02:26 +09:00
Alex Shinn
6803c7311a Exporting read-string. 2012-11-01 23:46:17 +09:00
Alex Shinn
73ea9c4e7a Adding input-port-open? and output-port-open?. 2012-11-01 23:42:33 +09:00
Alex Shinn
2eecec0a4b hard-coding scheme-report-environment version lookup to 7 2012-11-01 23:26:52 +09:00
Alex Shinn
ed443d42a2 adding bytevector procedure 2012-11-01 23:12:20 +09:00
Alex Shinn
dd168e5506 Fixing (byte)vector-copy! for non-zero at. 2012-11-01 23:05:12 +09:00
Alex Shinn
72094b760b Fixing bug in vector-copy for non-zero start. 2012-11-01 22:55:07 +09:00
Alex Shinn
c8f3ba78a8 fixing string-copy! 2012-11-01 22:41:47 +09:00
Alex Shinn
c8b5e7343f exporting string-copy! 2012-11-01 22:35:00 +09:00
Alex Shinn
da4909907f Fixing test handling of inexact complex numbers. 2012-11-01 21:40:21 +09:00
Alex Shinn
d893c89838 exporting square 2012-11-01 21:32:10 +09:00
Alex Shinn
e53230c439 odd? should check absolute value of remainder 2012-11-01 20:33:37 +09:00
Alex Shinn
c0fc89ece4 Supporting (partially) infinite complex numbers. 2012-10-31 23:41:53 +09:00
Alex Shinn
2b1c508e7f removing deprecated (chibi strings) 2012-10-28 19:00:39 +09:00
arc
f646e0d470 changed port number from literal to listener-or-addr argument in server.scm 2012-10-27 23:29:07 +13:00
Alex Shinn
4f554499f8 char-ready? shouldn't block, should return #t on EOF 2012-10-21 18:10:45 +09:00
Alex Shinn
cec55dfe41 Adding let-optionals* to core as recommended way of handling optional arguments.
This is much faster (in chibi) and more concise than case-lambda.  Also adding
(chibi optional) for the let-optionals and opt-lambda variants.
Still need to add let-keywords*.
2012-10-21 17:22:16 +09:00
Alex Shinn
9aa03c0a09 Updating eqv? definition (from pre-bignum days) to latest R7RS definition. 2012-10-17 20:53:56 +09:00
Alex Shinn
4a86e133a9 Fixing open-net-io to include socket in list of results. 2012-10-15 20:12:57 +09:00
Alex Shinn
c4edcc8d78 Adding emergency-exit. 2012-10-15 09:50:35 +09:00
Alex Shinn
6b467f4452 Splitting write into write (cycles only) and write-shared. 2012-10-15 09:44:30 +09:00
Alex Shinn
74d0980b82 Adding file-error? and read-error? predicates. 2012-10-14 23:27:16 +09:00
Alex Shinn
42f3b77b46 adding vector-append and bytevector-append 2012-10-14 23:15:31 +09:00
Alex Shinn
1ba4aeecaf More optional start/end parameters. 2012-10-14 23:07:07 +09:00
Alex Shinn
31278c016a string-copy now takes start/end arguments 2012-10-14 22:52:16 +09:00
Alex Shinn
4d10734110 string->list now takes optional start/end params 2012-10-14 22:47:45 +09:00
Alex Shinn
bc4d01eac0 Adding include and include-ci to (scheme base).
The cwd is undefined - these macros are useless.
2012-10-14 22:37:46 +09:00
Alex Shinn
993e690891 Removing -partial bytevector variants. 2012-10-14 22:26:27 +09:00
Alex Shinn
08a5a2e0e8 Renaming the (scheme) library to (chibi). Leaving (scheme) as an alias for backwards compatibility. 2012-10-14 22:11:47 +09:00
Alex Shinn
eb88a24049 Updating open-net-io to check for filenos instead of integers. 2012-10-14 20:46:10 +09:00
Alex Shinn
3d161d4d2f If we are re-awakened waiting on a thread-join! but without timing out,
try to join again to make sure it's really dead.
2012-10-13 23:51:55 +09:00
Alex Shinn
b5046925f7 Fixing read-bytevector to use read-u8 instead of the hacked definition in terms of read-string. 2012-10-13 22:37:24 +09:00
Alex Shinn
60c96d76a4 Checking for utf8 encoding exceptions in read/peek-char. 2012-10-13 21:59:38 +09:00
Alex Shinn
fc1a1bd393 Adding tests and bugfixes for read-string[!]. 2012-10-13 21:54:30 +09:00
Alex Shinn
23d3d6dce7 Fixing getpwnam stub, adding test cases from pod. 2012-10-09 21:52:16 +09:00
Alex Shinn
5b31263136 Linked values will be applied to the first result in a multi-result function.
Also adding support for value function conversions (e.g. string-length
-> sexp_string_length).
2012-10-09 21:50:56 +09:00
Alex Shinn
7b31ba7685 disabling bidir ports by default 2012-10-09 21:07:41 +09:00
Alex Shinn
47b88c850f Adding (features) procedure. 2012-10-09 00:27:56 +09:00
Alex Shinn
94ef945f8d fixing operator precedence bug in stack limit checks 2012-10-03 21:30:50 +09:00
Alex Shinn
2c5522dfff Don't unwrap syntatic closures in top-level defines by default. 2012-10-01 22:56:21 +09:00
Alex Shinn
7b1760ef82 Don't share stack on eval primitive, clean up load.
Fixes issue #148.
2012-09-29 15:38:05 +09:00
Alex Shinn
03518e5bab don't write zero bytes on flush (more efficient and avoids sigpipe) 2012-09-25 22:46:12 +09:00
Alex Shinn
1cfbcb232f s/delete-directory-hierarchy/delete-file-hierarchy/ 2012-09-24 23:07:03 +09:00
Alex Shinn
5675b19715 Adding directory traversing, deleting, and changing utilities. 2012-09-24 22:33:19 +09:00
Alex Shinn
1e8be72d21 re-exporting open-input-file-descriptor and open-output-file-descriptor from (chibi filesystem) 2012-09-23 23:44:47 +09:00
Alex Shinn
9da98bd68d Finalizing stream/fd backed ports will properly flush them.
However, don't try to flush string/custom ports which could result in alloc during gc.
2012-09-23 23:28:09 +09:00
Alex Shinn
90ff32e3bd removing a stray tab 2012-09-23 22:32:27 +09:00