Commit graph

273 commits

Author SHA1 Message Date
Alex Shinn
4bd428da9e Unblock the current thread if it was waiting on an fd with activity.
Prevents useless extra polling slowing down the process as noted in issue #144.
2012-08-25 12:49:34 +09:00
Alex Shinn
46b7d943a5 Fixing read/write-u8 to block properly when srfi-18 hasn't been loaded. 2012-08-19 23:19:37 +09:00
Alex Shinn
e562cc0be3 Incorporating Alan Watson's TAI time library. 2012-08-17 10:04:37 +09:00
Alex Shinn
748ccc06ea Fixing full unicode versions of char- predicates.
Thanks to Barry Fishman.
2012-08-16 20:48:07 +09:00
Alex Shinn
2c6bc7af42 adding friendly error message when using renamed (chibi strings) 2012-08-15 21:34:41 +09:00
Alex Shinn
4554b1f860 moving (chibi strings) to (chibi string) in conjunction with R7RS vote to prefer singular form of module names 2012-08-15 21:33:19 +09:00
Alex Shinn
b40370be52 thread-join! now returns the result or raises the exception of the joined thread 2012-08-15 21:23:39 +09:00
Alex Shinn
51c12f6115 If the only available thread is paused and we need to schedule it, remove it from the paused list.
Fixes issue #138 - otherwise the thread can be revived in the repl after we sleep.
2012-08-13 13:49:48 +00:00
Alex Shinn
736ff434e6 Updating srfi-38 to support writing labels only for values which cause cycles.
Also switching to srfi-69 for efficiency.
2012-08-12 21:28:36 +09:00
Alex Shinn
10b1110439 Fixing mutex-unlock! with paused thread waiting on mutex-lock! 2012-08-08 00:21:00 +09:00
Alex Shinn
f60617815d Resetting history ring on empty input in repl. 2012-07-26 22:47:43 +09:00
Alex Shinn
f0dd9c9ddb patch for clean NetBSD and OpenBSD builds from v krishnakumar 2012-07-26 09:55:00 +09:00
Alex Shinn
cc1821a61e (scheme char) now supports full unicode char properties and case mappings 2012-07-23 23:23:39 +09:00
Alex Shinn
287d1a992f Adding string-size and substring-cursor to the ASCII version. 2012-07-23 23:18:48 +09:00
Alex Shinn
b682d77971 fixing string-trim resulting in empty string 2012-07-23 05:54:33 +09:00
Alex Shinn
3ee50bd0d7 length now requires a proper list.
It still accepts cyclic lists and returns #f, like SRFI-1 length+.
It's convenient to be able to accept improper lists (e.g. for
parameter lists), so the old behavior is available as length*.
Fixes issue #97.
2012-07-21 19:22:56 +09:00
Alex Shinn
cb4d0c77f6 Fixing handling of multiple exports in a library. export-all now supported. 2012-07-21 19:01:10 +09:00
Alex Shinn
a3daf9f728 don't check for a timeout on thread-join! unless one was specified 2012-07-21 18:46:56 +09:00
Alex Shinn
dccc398621 adding an extra newline when interrupting from the repl 2012-07-21 17:32:03 +09:00
Alex Shinn
73e02601e4 changing sexp_call_sigaction to avoid casts 2012-07-21 17:27:09 +09:00
Alex Shinn
cdb8760fcc Need to unpause a paused thread if we want to terminate it. 2012-07-21 17:05:05 +09:00
Alex Shinn
680e2fe169 friendlier error message for self-referential modules 2012-07-19 22:27:15 +09:00
Alex Shinn
a9784b56f8 raising an error on non-numeric input to number->string 2012-07-19 21:37:15 +09:00
Alex Shinn
57b2bc281d apply opcode is now tail-recursive - calling it in a non-tail position is an error 2012-07-18 21:34:53 +09:00
Alex Shinn
0c9297d0d6 forgot to add the cxr library 2012-07-17 00:15:32 +09:00
Alex Shinn
71afd5d56a Acknowledging that I may never be free of the \r evil... 2012-07-16 23:40:58 +09:00
Alex Shinn
0553dd41b9 Need to rename field parameter names in record constructors. 2012-07-16 22:49:48 +09:00
Alex Shinn
89dfe9ab35 Patch from Alan Watson for nicer handling of multiple value results
in the repl, and also evaling multiple sexps on the same input line.
2012-07-16 17:46:13 +09:00
Alex Shinn
582a3295d4 returning #<eof> for end of input on read-u8 2012-07-16 17:37:47 +09:00
Alex Shinn
6adeccf173 closing port immediately on return with-{input-from,output-to}-file 2012-07-11 21:28:14 +09:00
Alex Shinn
2af9643115 fixing missing newline for final row of formatted list output 2012-07-10 20:49:37 +09:00
Alex Shinn
0c832129df allowing configurable prompts (patch from Alan Watson) 2012-07-10 20:45:13 +09:00
Alex Shinn
d622036eb5 prefix and drop-prefix imports will look up exported identifiers if missing 2012-07-09 20:08:08 +09:00
Alex Shinn
3e79138e21 Various fixes for better debug output.
* Associate file/line source info with corresponding bytecode offset.
  * Fixes for losing source info after macro expansion and simplification.
  * Fix for showing the source info of the calling procedure of an error.
2012-07-07 15:26:08 +09:00
Alex Shinn
a7e899ce8d (chibi test) now uses only R7RS plus srfi-1 2012-06-25 22:07:27 -07:00
Alex Shinn
881d976464 more accurate current-second 2012-06-25 22:03:54 -07:00
Alex Shinn
1809aad33b (exit #t) exits successfully 2012-06-25 21:46:07 -07:00
Alex Shinn
ef4372a2cd fix for iset-prune! to return an empty iset instead of #f 2012-06-24 23:20:00 -07:00
Alex Shinn
100e5b7d1e using condensed test output by default unless TEST_VERBOSE=1 is set 2012-06-24 23:12:40 -07:00
Alex Shinn
38144adfc5 better source preservation from syntax-rules on restructured ellipsis patterns 2012-06-24 15:04:49 -07:00
Alex Shinn
5013c0fdcb moving pair-source and pair-source-set! into the core 2012-06-24 14:36:45 -07:00
Alex Shinn
bad54b143c printing debug output on OOM 2012-06-24 14:07:59 -07:00
Alex Shinn
c9d24497d9 Adding todo for dynamic-wind. 2012-06-23 23:41:37 -07:00
Alex Shinn
fa7a567458 Making string-fold/for-each/map n-ary. 2012-06-23 22:30:35 -07:00
Alex Shinn
8fe6b8f7bd (chibi strings) functions taking predicates now accept char-sets as well. 2012-06-21 23:08:24 -07:00
Alex Shinn
08e4fead8b small fixes and warning removals for build tests 2012-06-20 21:39:52 -07:00
Alex Shinn
05d416e17f The argument to exit is optional, and is treated as 1 for any non-integer
("error" for any non-string on plan9).  The idiom (exit #f) can be used
to indicate an arbitrary error.
2012-06-19 23:09:29 -07:00
Alex Shinn
37b796e0f0 DragonFly build support patch from ctismyusername. 2012-06-19 22:47:15 -07:00
Alex Shinn
c903a73921 adding ascii and full unicode char-set libraries based on isets 2012-06-17 19:36:17 +09:00
Alex Shinn
14a46feec9 adding iset optimization utility lib 2012-06-17 19:07:54 +09:00