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
a61cebb1e9
Thread parameters are still needed when threads are disabled.
2013-02-27 09:04:56 +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
d7e61680fb
Handling (chibi ast) the same for make clean/install/uninstall as other chibi libs.
...
Fixes issue #175 .
2013-02-26 08:30:32 +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
9f56df7de2
Forgot to add FFI test script.
2013-02-21 21:44:20 +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
cd0a6bd41f
Don't include benchmarks in distribution.
2013-02-20 21:57:52 +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
b2caf66dcb
Adding a type check on env-exports.
2013-02-14 22:13:30 +09:00
Alex Shinn
a689b1a399
primitive load should use a fresh stack
2013-02-11 15:24:31 +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
7d0ab043a2
initial ffi tests
2013-02-10 16:37:18 +09:00
Alex Shinn
9e4ce16aa2
Updating calls to sexp_gc_var to omit ctx.
2013-02-09 09:41:42 +09:00
Alex Shinn
2a1f916475
chibi-ffi uses execute instead of system when compiling to pass through the result
2013-01-31 22:26:19 +09:00
Alex Shinn
5127e30ab2
Booleans are passed as #t/#f in Scheme but ints in C.
2013-01-31 22:20:15 +09:00
Alex Shinn
7e30de04a8
Adding define-values corner case tests.
2013-01-29 21:54:09 +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
Alex Shinn
ed308c4063
Adding char validator.
2013-01-25 00:45:03 +09:00
Alex Shinn
5f705339ef
Supporting an arbitrary number of gc vars in FFI (e.g. as caused by more than 5 result params).
2013-01-23 23:35:51 +09:00
Alex Shinn
5ab2849d61
Removing useless term from private macro.
2013-01-23 23:34:28 +09:00
Alex Shinn
cdeaef55d3
7 is a nicer number than 6
2013-01-23 23:11:55 +09:00
Alex Shinn
fa44ad7cf8
Binding finalizers. Handling multiple implicit or explicit calls to finalizers.
2013-01-23 23:06:39 +09:00
Alex Shinn
7dfad8a293
Don't gc release until after normalizing ratios.
...
Fixes issue #171 .
2013-01-23 22:07:33 +09:00
Alex Shinn
8f956416fc
A void return type combined with result parameters will discard the void result.
...
Enhancement request from issue #170 .
2013-01-20 18:25:04 +09:00
Alex Shinn
7d3d700300
adding type check to lookup-type
2013-01-19 01:30:49 +09:00
Alex Shinn
ec21e90e16
#; followed by non-datum tokens is an error
2013-01-14 19:36:25 +09:00
Alex Shinn
3e241e3a3e
Simplifying scheduler case where the only available thread is waiting on a port.
...
Instead of a one-time poll, we just use the default small sleep + loop case,
so we use the normal poll next time through the scheduler.
This fixes a potential case where a lone thread waiting on I/O could hang,
discovered by Lorenzo.
2013-01-14 17:59:40 +09:00
Alex Shinn
4089370373
quasiquote should check to quote literal identifiers, not just symbols
2013-01-12 21:38:52 +09:00
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