Alex Shinn
5797ac661a
Fixing offsets for bytecode accessors.
2013-06-01 18:55:04 +09:00
Alex Shinn
b77e4397d7
Exporting sockaddr and addrinfo.
2013-05-30 08:09:05 +09:00
Alex Shinn
9c622fef67
Renaming dynamic-wind point routines to avoid likely user names.
2013-05-29 23:32:54 +09:00
Alex Shinn
b10cb94e17
Reset the current parameters in child threads.
...
This is simple and fast. Inheriting all threads causes immediate
problems with exception handlers, and in general should use
copy-on-write behavior so that child threads can't affect parents. If
we make an eager copy of the parameters we can filter out just the
exception handler, but then thread creation is expensive. The ideal
design might allow selectively enabling parameter inheritance.
2013-05-29 20:40:48 +09:00
Alex Shinn
a12df113c5
Conditionally define Complex and Ratio types.
2013-05-28 22:51:02 +09:00
Alex Shinn
86cc80f67f
Patch from Lorenzo to fix previous incomplete patch.
2013-05-28 19:53:14 +09:00
Alex Shinn
dde47a7846
Setting new thread's dynamic wind state to a fresh root.
2013-05-27 22:23:54 +09:00
Alex Shinn
99c8992207
make-thread no longer needs to reset the dynamic continuation
2013-05-26 08:58:19 +09:00
Alex Shinn
2cb9d2237f
Better error message for invalid args to sorted?.
2013-05-12 10:31:30 +09:00
Alex Shinn
74775675fc
Fixing sort on vectors for comparators other than <.
...
Also applying the dups fix analog to 0d36042bb1c6 for non-< comparators.
2013-05-12 10:30:38 +09:00
Alex Shinn
59c3171c39
Partition needs to split on <= to handle dups properly.
2013-05-11 13:39:36 +09:00
Alex Shinn
908be71b17
Reverting previous sorted? change.
2013-05-11 13:02:30 +09:00
Alex Shinn
5db2afb02d
Extra gc preservation.
2013-05-11 12:58:20 +09:00
Alex Shinn
7a08f86b3d
sorted? should support <=
2013-05-11 12:41:51 +09:00
Alex Shinn
13f9d0f8d0
Fixing SRFI-95 sort for inexacts differing only in the fractional part
...
(reported by Alan Watson).
Also adding support for complex and ratios.
2013-05-11 12:34:16 +09:00
Alex Shinn
83b320a301
Adding parse-binary-op utility to (chibi parse common).
2013-05-03 00:12:44 +09:00
Alex Shinn
d6c20873e4
Fixing bug in test-equal? returning numeric results for non-real expects.
2013-05-02 23:52:37 +09:00
Alex Shinn
f8a5f7e004
exact-integer-sqrt should continue the babylonian method in scheme.
...
The estimate given by the C code could be off by a large margin when
the result is inexact, converging far too slowly if we use simple
increments in Scheme.
2013-04-14 04:59:49 +00:00
Alex Shinn
2e63b2be00
Using non-mutating tree of dynamic-wind state for thread safety.
2013-04-07 23:59:41 +09:00
Alex Shinn
41bf531485
Adding various environment and core AST accessors needed for the pure-scheme eval.
2013-04-07 20:10:42 +09:00
Alex Shinn
dcd65cc9da
Using cond-expand for faster match-check-ellipsis and match-check-identifier in Chibi.
2013-04-05 20:36:40 +09:00
Alex Shinn
242ab2c8e6
Adding an explicit error for record rtd and constructor conflicts.
2013-04-05 20:22:46 +09:00
Alex Shinn
0f723c17ea
Alternate guard form - evaluate the guard clauses in the continuation of the raise.
...
We need to override the current-exception-handler and still pass a thunk to be
applied on return, but this allows us to print stack traces inside guards.
2013-04-03 00:18:58 +09:00
Alex Shinn
af8aed4c5a
string-split on the empty string is null, on a single space is two empty strings
2013-04-02 22:20:41 +09:00
Alex Shinn
98bad7bc63
Aligning line wrap in nested test groups.
2013-04-01 23:31:19 +09:00
Alex Shinn
95215e9228
Adding warning to remind people to (import (scheme base)).
2013-04-01 21:55:18 +09:00
Alex Shinn
b840602d6c
Guarding @import expressions from the repl.
2013-04-01 20:38:35 +09:00
Alex Shinn
b3eab11692
Removing spurious debug output.
2013-03-11 00:01:31 +09:00
Alex Shinn
c63e00453c
Adding SRE char-set handling to (chibi parse).
...
I wanted to avoid the full char-set dependency, but
it's too useful and the alternatives to ugly in grammars.
2013-03-09 19:16:26 +09:00
Alex Shinn
4d6d56f002
printing test vars on fail/error when provided
2013-03-08 19:12:02 +09:00
Alex Shinn
671b037270
Fixing module? predicate for export-all modules.
2013-03-04 23:33:35 +09:00
Alex Shinn
7dc3a63c21
Fixing bounds and multi-chunk stream errors.
2013-03-04 23:19:37 +09:00
Alex Shinn
8cd7b9a265
Adding file-descriptor type to (chibi ast).
2013-03-03 16:52:57 +09:00
Alex Shinn
6917cdabfb
Adding Complex type definition to (chibi ast).
2013-02-28 22:35:51 +09:00
Alex Shinn
e281854483
SRFI-18 can now build without error for threadless builds, as an empty library.
...
Actually importing it in this case reports an error.
2013-02-27 20:58:44 +09:00
Alex Shinn
6af5f46721
Fixing exception handlers for threadless builds.
2013-02-27 20:57:40 +09:00
Alex Shinn
d13aa7c4f2
Cond-expand out threading code to load leap-second table dynamically when threads are disabled.
2013-02-27 09:04:15 +09:00
Alex Shinn
738cb3ac9a
Fixed typo for building ast w/o threads - #if not #ifdef.
2013-02-27 08:48:13 +09:00
Alex Shinn
d636e8d57f
Speeding up grammar macros with a cond-expanded ER macro.
...
Fixing macro walking for multi-arg variants of */+/?.
Adding -> as an alias for =>, maybe deprecate the latter.
2013-02-25 08:06:02 +09:00
Alex Shinn
678db7888a
Fixing octal case of parse-c-integer.
2013-02-25 08:04:18 +09:00
Alex Shinn
3b52d30af1
Checking for null objects in type-of.
2013-02-25 08:03:06 +09:00
Alex Shinn
e18de40fe2
Adding initial parser combinator library. API still subject to change.
2013-02-21 22:56:07 +09:00
Alex Shinn
a32ae03add
Not quite the right fix - will do this properly later.
2013-02-20 22:10:57 +09:00
Alex Shinn
f142212701
fixing multi-line input
2013-02-20 21:49:22 +09:00
Alex Shinn
27af40b2fa
load shouldn't search for the file
2013-02-20 20:43:25 +09:00
Alex Shinn
f60b72dbc0
fit in 80 columns
2013-02-18 23:03:48 +09:00
Alex Shinn
c468e328a5
defining load on source files in scheme
2013-02-11 15:22:06 +09:00
Alex Shinn
20c62ffe4a
The global ABI error object needs to be an immediate, since if
...
the ABI is incompatible we can't even necessarily refer to a
global from within the bad library.
2013-02-10 16:38:18 +09:00
Alex Shinn
3afa5589a7
Fixing regression bug in dotted ellipsis syntax-rules patterns.
2013-01-29 21:53:39 +09:00
Alex Shinn
55df642dab
Better initial defaults for equality bounds checking.
2013-01-26 23:42:22 +09:00