Commit graph

170 commits

Author SHA1 Message Date
Alex Shinn
3c8402d4fb re-run scheduler if only thread was still waiting (issue #594) 2019-12-26 23:42:15 +08:00
Alex Shinn
e9c8bed95a random-integer should check for positive bounds 2019-09-03 19:56:59 +08:00
Alex Shinn
d1bb4c27a4 removing undocumented upcased and downcased 2019-02-28 00:19:01 +08:00
Alex Shinn
4c5bdcb22c allowing strings for decimal-sep; s/fn-fork/forked/g 2019-02-27 23:59:10 +08:00
Alex Shinn
2c3dfbd295 fixing default padding/trimming to be left, matching the spec (from SRFI 13 convention) 2019-02-27 22:52:18 +08:00
Alex Shinn
a126417ebe fleshing out srfi 160 api 2019-02-26 23:08:52 +08:00
Alex Shinn
a94a2c7902 uvector fixes 2019-02-25 23:01:35 +08:00
Alex Shinn
017bb1c2a0 adding -Dsafe-string-cursors feature to perform extra checks on string cursors 2019-02-01 00:31:13 +08:00
Alex Shinn
2b4394ea74 adding initial support for SRFI 160 uniform vectors 2019-01-15 23:43:50 +08:00
Edwin Watkeys
d256ebd368 fix typo update!->with in srfi-159 2018-12-23 11:25:45 +01:00
Alex Shinn
2c37dfedd3
Merge pull request #500 from mnieper/syntax-case
Implement syntax-case
2018-12-09 04:08:31 +08:00
Marc Nieper-Wißkirchen
081a2a7b3f Construct constructor/predicate names in the syntactic context of the record name, not the context of the invokation of define-record-type 2018-12-05 12:15:17 +01:00
Alex Shinn
521e23e3c7 Reduce error in sexp_read_float_tail (from Taylor R Campbell)
scale*10 is computed exactly until scale exceeds 2^54/10; in
contrast, scale*0.1 may not be computed exactly, and fl(0.1) is not
even 0.1.

WARNING: This change is not complete -- it does nothing to prevent
overflow with very long strings of digits after the decimal point.
2018-12-02 12:22:14 +08:00
Marc Nieper-Wisskirchen
152b20f244 Implement syntax-case 2018-12-01 13:48:25 +01:00
Alex Shinn
5bbef040c5 BSD portability fixes from Taylor Campbell 2018-11-27 23:01:23 +08:00
Alex Shinn
5f428d1299 limit waiting in thread scheduler to 10ms 2018-06-13 22:33:39 +08:00
Alex Shinn
e4cc2dd33c default comparator compares numbers with = (issue #459) 2018-03-10 11:11:59 +09:00
Alex Shinn
7ae96fdba5 typo in vector-select! 2018-02-01 15:43:46 +09:00
Alex Shinn
5023e88897 don't include-shared hash multiple times 2018-01-24 23:58:30 +09:00
Alex Shinn
ab88f53e48 adding srfi 113 2018-01-24 23:47:28 +09:00
Alex Shinn
03544833dc rename (chibi show) update! to with! as in srfi 159 2018-01-16 21:15:54 +09:00
Alex Shinn
73734c7010 adding (srfi 159) wrapper around (chibi show) 2018-01-16 19:54:59 +09:00
Alex Shinn
f6f470c3e5 adding (srfi 135) 2018-01-16 01:14:40 +09:00
Alex Shinn
bd9ea1d3ac adding (srfi 134) 2018-01-16 00:00:48 +09:00
Alex Shinn
0c27921f51 adding (srfi 101) 2018-01-15 23:51:16 +09:00
Alex Shinn
b91022afea adding (srfi 127) 2018-01-15 23:15:14 +09:00
Alex Shinn
f8cc1402c2 adding (srfi 41) 2018-01-14 00:22:14 +09:00
okuoku
1cba43a220 SRFI-151: Fix bit-set? on Win64 which uses long long
Most "1UL" references on bitwise operations should be replaced with
explicit C cast.
2017-12-14 18:03:23 +09:00
okuoku
da7b68f82e SRFI-98: Do not decl. environ as extern on Win32
On Win32, environ definition is included in <stdlib.h>.
2017-12-13 17:30:36 +09:00
okuoku
51f24ed36e Win32: Import Ruby's lgamma_r implementation (Public Domain)
Import Ruby's lgamma_r implementation as MSVCRT missing lgamma_r
implementation. Non Windows platforms should continue to use lgamma_r
implementation which provided with its C runtime library.
2017-12-13 17:20:53 +09:00
okuoku
735719d9d6 Win32: Port/Stub-out libraries
- (scheme time): Win32 stub impl
 - (chibi filesystem): Win32 stubbing
 - (chibi process): ditto
 - (chibi time): ditto
 - SRFI-144: lgamma is not in C99 standard
 - SRFI-27: Win32 INSECURE rand
2017-11-06 04:10:28 +09:00
Alex Shinn
befd7b5eff adding (srfi 154) 2017-10-06 22:54:32 +09:00
Alex Shinn
4a7a809c8d distinguishing lowercase and foldcase (fixes issue #420) 2017-08-27 14:10:05 +09:00
Alex Shinn
1ac4473942 removing tabs 2017-08-26 23:29:02 +09:00
Alex Shinn
0f84fac70d adding (srfi 14) 2017-08-26 20:34:56 +09:00
Alex Shinn
22af18dd18 adding (srfi 116) 2017-08-24 21:29:33 +09:00
Alex Shinn
32bd7fbad6 fixing corner cases in pair-fold, alist-delete and reduce-right 2017-08-24 21:27:08 +09:00
Alex Shinn
1c3f2bd6d5 adding (srfi 145) 2017-08-21 23:16:55 +09:00
Alex Shinn
6d3ae7a28e replacing (srfi 142) with (srfi 151) 2017-08-21 22:32:57 +09:00
Alex Shinn
836ddf6397 adding missing flonum to (srfi 144) (fixes issue #434) 2017-08-09 22:46:46 +09:00
Marc Nieper-Wißkirchen
34701f6df5 Implement SRFI 139 2017-08-01 19:22:12 +02:00
Marc Nieper-Wißkirchen
0078ae2e83 Repair emscripten build 2017-07-25 16:06:59 +02:00
Alex Shinn
d93f7265e2 fixing test after jn/yn signature change 2017-07-20 22:18:05 +09:00
Alex Shinn
071aa725fd updating (srfi 144) with final changes (issue #426) 2017-07-20 22:12:01 +09:00
Alex Shinn
3197969d3e adding missing export regexp-match->list (issue #419) 2017-06-26 10:36:38 +09:00
Alex Shinn
b52711cac8 adding (srfi 144) 2017-06-03 16:49:09 +09:00
Alex Shinn
79a5952ee1 adding (srfi 143) 2017-05-27 22:50:35 +09:00
Alex Shinn
9a21154041 fixing bit-field-rotate/reverse 2017-05-27 22:49:14 +09:00
Alex Shinn
e0fe160f46 fixing off-by-one error in first-set-bit 2017-05-19 23:04:06 +09:00
Alex Shinn
5fb3217ada updating more bitwise corner cases (issue #408) 2017-05-15 23:45:06 +09:00