Commit graph

244 commits

Author SHA1 Message Date
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
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
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
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
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
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
f209c38f4f sexp_blocker can block on fileno objects 2012-12-31 00:25:13 +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
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
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
29411cb4ad Adding general chibi application interface. 2012-12-13 10:36:53 +09:00