Alex Shinn
2b68fca125
Raising a friendly error on non-identifier syntax bindings (previously silently a useless operation).
2013-01-08 22:43:25 +09:00
Alex Shinn
da328bb88c
Another thread patch from Lorenzo. If we're reduced to scheduling
...
a single thread blocked on an fd and the poll fails, optimistically
unblock it (so it can block again naturally), instead of just running
it still in a wait status.
2013-01-06 00:22:54 +09:00
Alex Shinn
1594e2322b
Adding extra exact-integer-sqrt tests.
2013-01-06 00:02:27 +09:00
Alex Shinn
2f56d37f0c
Conservatively reducing an initial estimate.
2013-01-05 23:54:27 +09:00
Alex Shinn
0daa2f270a
Ensuring exact-integer-sqrt always returns positive remainders.
...
Moving out of (chibi) into only (scheme base).
2013-01-05 23:45:30 +09:00
Alex Shinn
c559ae11be
Fixing fixnum results with remainders in bignum sqrt.
2013-01-05 23:38:20 +09:00
Alex Shinn
c5e4384821
Removing base exports from (chibi char-set ascii) exports.
2013-01-04 23:38:13 +09:00
Alex Shinn
97dd0977a6
Fixing template depth count in certain fast-tracked template patterns.
...
Fixes issue #169 .
2013-01-04 11:11:29 +09:00
Alex Shinn
bd059d8fda
Downgrading error from changset 0151ce9ef063 to a warning, to allow raw (import (meta)), as used by e.g. (chibi modules).
2013-01-03 23:59:24 +09:00
Alex Shinn
b42379539d
Fixing termination condition in certain bignum sqrts, handling negative inputs.
2013-01-03 23:49:31 +09:00
Alex Shinn
1012f7e129
A followup patch for bignum addition carrying from Lorenzo.
2013-01-03 23:02:59 +09:00
Alex Shinn
df116bb779
Fixing macro environment to be the evaluation, not binding
...
environment, in let-syntax. The difference arises when the same
binding is inside and outside the let-syntax. Patch from Zhang Meng.
2013-01-03 22:34:40 +09:00
Alex Shinn
c0b257db25
Fixing overflow checking in certain cases in bignum addition.
...
(patch from Lorenzo)
2012-12-31 10:51:42 +09:00
Alex Shinn
6a9725996b
Catching common error of using unwrapped define in library declarations.
2012-12-31 07:36:48 +09:00
Alex Shinn
902a37b259
call-with-process-io auto-non-blocks the fds
2012-12-31 00:34:48 +09:00
Alex Shinn
a8eb496962
get/set-file-descriptor-flags/status[!] now accept port arguments
2012-12-31 00:27:03 +09:00
Alex Shinn
3bcaed82d4
Adding test-r7rs target.
2012-12-31 00:26:19 +09:00
Alex Shinn
f209c38f4f
sexp_blocker can block on fileno objects
2012-12-31 00:25:13 +09:00
Alex Shinn
0a9dce93b0
Ports can be passed for fileno arguments. The fileno-nonblock return type
...
can be specified to automatically make the result non-blocking.
2012-12-31 00:21:43 +09:00
Alex Shinn
97ee1b7b65
Fixing read-bytevector! on no input (adapted patch from Lorenzo).
2012-12-29 09:29:05 +09:00
Alex Shinn
cdc9465b1b
Handling zeros and infinities in 2-arg atan.
2012-12-27 00:17:17 +09:00
Alex Shinn
e701c63762
string[-ci]<>=? are also n-ary
2012-12-26 23:58:08 +09:00
Alex Shinn
544b6a50c5
char[-ci]<>=? is n-ary (alas)
2012-12-26 23:26:32 +09:00
Alex Shinn
119c95b222
Adding missing change from last patch (import (srfi 33) in edit-line).
2012-12-26 23:25:41 +09:00
Alex Shinn
a481f31571
Supporting double-width characters in line editor.
2012-12-26 23:10:46 +09:00
Alex Shinn
8c8358f3a5
Updating version.
2012-12-26 22:04:47 +09:00
Alex Shinn
c1185cd302
Spelling correction.
2012-12-26 22:03:14 +09:00
Alex Shinn
41a672864b
Making the match-let family insert a lexical closure to allow internal defines.
2012-12-26 22:02:27 +09:00
Alex Shinn
cb22ae6ff9
Supporting utf8 in edit-line. Still need to handle non-single-width characters properly.
2012-12-26 07:51:49 +09:00
Alex Shinn
bd3eec54d7
log should promote to complex logic for negative inputs.
...
Fixes issue #166 .
2012-12-26 07:25:22 +09:00
Alex Shinn
3c45fb564a
Patch from Lorenzo fixing premature reclamation of fd's still in use.
2012-12-25 21:54:01 +09:00
Alex Shinn
7ae254fc28
More accurate square roots for bignums - compute via iteration rather
...
than approximation via flonums for very large bignums.
2012-12-22 18:06:22 +09:00
Alex Shinn
48209fa1c1
Adding test for exception values stored in hash tables.
2012-12-22 16:37:18 +09:00
Alex Shinn
1155893fca
Showing total individual test counts from subgroups.
2012-12-22 14:27:35 +09:00
Alex Shinn
38841409ff
More compact test output.
2012-12-22 13:49:21 +09:00
Alex Shinn
cdd337f3aa
Switching to using a union instead of type-cast to get at the bits
...
of a flonum for eqv? comparison.
Fixes issue #164 .
2012-12-22 03:28:58 +00:00
Alex Shinn
11cdc6930d
The imaginary part of a non-complex is exact 0.
2012-12-21 21:39:23 +09:00
Alex Shinn
e4b86a5807
Updating SRFI-2 to support single variable references as clauses, and adding tests.
...
Also allowing empty bodies. (I think both are terrible extensions.)
2012-12-15 13:06:32 +09:00
Alex Shinn
b63537a8cc
Signalling error on '(x . .) read syntax.
2012-12-15 10:26:11 +09:00
Alex Shinn
29411cb4ad
Adding general chibi application interface.
2012-12-13 10:36:53 +09:00
Alex Shinn
d23feedf11
Adding initial config library.
2012-12-13 10:35:55 +09:00
Alex Shinn
d9f7c07f8e
It's not sufficient to call sexp_negate on a copy of complex numbers,
...
since the negation can mutate the components. We need to make a deep copy.
2012-12-12 10:55:02 +09:00
Alex Shinn
bea3d1937c
Allowing non-dotted attrs and non-string values.
2012-12-08 21:56:10 +09:00
Alex Shinn
9e1034be02
Don't map expansion across non-lists.
2012-12-08 20:30:44 +09:00
Alex Shinn
966ece57c2
Allowing multi-line input to (chibi repl) from Emacs and raw terminals.
2012-12-08 15:23:19 +09:00
Alex Shinn
b9bf656d2b
Added tag 0.6.1 for changeset 6a549244f74d
2012-12-04 20:12:33 +09:00
Alex Shinn
0edede2ed4
0.6.1 release with several fixes
2012-12-04 20:12:28 +09:00
Alex Shinn
b4c2bbb625
delete-file raises a file-error on failure.
...
Other file operations continue to return #t/#f - may change this later.
2012-12-04 20:09:21 +09:00
Alex Shinn
3b232b241c
Removing length* references in match, making match.sld portable R7RS.
2012-11-28 21:30:12 +09:00
Alex Shinn
36bc32c13d
merge
2012-11-28 21:28:16 +09:00