Commit graph

162 commits

Author SHA1 Message Date
Alex Shinn
58f6509c6f adding some substring-terminal-width tests 2020-07-20 17:16:58 +09:00
Alex Shinn
bcbed04b3b fixing pretty-printed circular lists 2020-07-20 16:38:48 +09:00
Alex Shinn
983829cab1 better inexact computation for ratios which overflow double (issue #671) 2020-07-15 16:38:56 +09:00
Alex Shinn
fc33d6ffa3 implementing basic colors for pretty-with-colors 2020-07-14 23:58:27 +09:00
Alex Shinn
b4fb077fef random_r doesn't necessarily provide enough bits even for a fixnum (issue #668) 2020-07-13 10:27:04 +09:00
Alex Shinn
f2d38e36c7 fixing (srfi 159) after refactoring 2020-07-06 15:09:49 +09:00
Alex Shinn
a9faa6cc7b removing debugging (scheme write) import 2020-07-03 14:51:54 +09:00
Alex Shinn
36c3471fa7 adding substring/width 2020-07-03 14:45:36 +09:00
Alex Shinn
39344bcaa0 adding background colors, as-italic 2020-07-03 10:42:11 +09:00
Alex Shinn
e3fddebb26 even string-cursor->index/index->cursor are polymorphic 2020-07-03 09:43:26 +09:00
Alex Shinn
25e04e2a35 switch /si default base to 1000, remove show-columns export 2020-06-24 13:08:33 +09:00
Alex Shinn
532fb83e0a don't use nested show in pretty (issue #518); use string-width for computing width (issue #517) 2020-06-24 12:25:36 +09:00
Alex Shinn
e8f1233e18 cleaning up test names 2020-06-19 17:37:55 +09:00
Alex Shinn
afb4a432c9 replace (chibi string) with (srfi 130) in (srfi 166) 2020-06-18 00:00:45 +09:00
Alex Shinn
402e3c8fb1 making (chibi show) an alias of (srfi 166) 2020-06-17 23:39:24 +09:00
Alex Shinn
5b7729fbfc fixing whitespace 2020-06-16 11:43:47 +09:00
Alex Shinn
23f93cceb4 better fix for #618 2020-06-16 10:05:26 +09:00
Alex Shinn
08c72aca59 handle shared dotted tail in writing lists (issue #618) 2020-06-15 12:22:16 +09:00
Lukas Stoll
afba9d8c27 Correct record-type names in srfi 41 2020-06-09 19:50:13 +02:00
Lukas Stoll
4f23fb4e03 Add (scheme lazy) to imports for srfi 41 2020-06-09 15:05:41 +02:00
Lukas Stoll
6e2bd8d4b7 Use r7rs lazy primitives in srfi 41
Rewrite srfi 41 primitive layer in terms of r7rs primitives for delayed
evaluation.
2020-06-09 14:55:44 +02:00
Alex Shinn
c245d6cee8 fix case folding, update to unicode 13 2020-06-04 22:08:07 +09:00
Alex Shinn
1164ecf9b7 adding unicode-string-width/wide 2020-06-03 10:43:22 +09:00
Alex Shinn
255ee079e5 fix order of arguments in lset= 2020-05-27 14:27:31 +09:00
Alex Shinn
7b8b534a48 use (chibi test) for srfi 146 tests (issue #651) 2020-05-27 07:54:46 +09:00
Alex Shinn
11e0328fef adding (srfi 146 hash) 2020-05-26 17:05:07 +09:00
Alex Shinn
3a117b27aa adding srfi 146 2020-05-26 13:57:06 +09:00
Alex Shinn
fb079b2bda adding srfi 188 2020-05-26 10:12:27 +09:00
Alex Shinn
b1af52195a adding initial srfi 166 implementation 2020-05-25 19:01:03 +09:00
Alex Shinn
6b449150fc cleanup whitespace 2020-05-25 18:52:33 +09:00
Alex Shinn
6e8b9bf59d adding srfi 165 2020-05-17 00:08:00 +09:00
Vitaliy Mysak
f449bd157d fix compilation under std=c89
There were few things that prevented successful compilation
using c89 standard. (and other c* standards in case of gcc).
Fix them in this small patch.

Changes in 27/rand.c:
- Use __GNU_SOURCE__ instead of __GNU_LIBRARY__
  or else any of -std=c* options don't work with gcc
- Add a check before using rand_r() as suggested in rand_r(3)
- Move _WIN_32 definitions to "else" branch because it uses the most portable version
2020-05-13 11:12:02 +02:00
Alex Shinn
610b6964ce fix log table for integer-length (issue #634) 2020-05-11 21:38:40 +09:00
Adam R. Nelson
18a5776587 Fix SRFI 133 vector-every crash on empty vector 2020-05-09 11:46:10 -04:00
Marc Nieper-Wißkirchen
15b3449b85 Implement SRFI 158. 2020-05-05 22:28:10 +02:00
Marc Nieper-Wißkirchen
d4527d23dc Implement SRFI 162. 2020-05-02 21:05:19 +02:00
Alex Shinn
0a83939866 fix corner case with multi-line comments in non-native read (issue #623) 2020-03-30 01:14:27 +09:00
Nguyễn Thái Ngọc Duy
c68bbf89bd Correct srfi-159 exported procedures
The two procedures pretty and pretty-simply from (chibi show pretty)
should be part of (srfi 159 base). written-shared is removed from 159
because it looks like it's an addition in 166.
2020-02-04 20:28:55 +07:00
Alex Shinn
2b7927b9bc allow indexes instead of cursors for cursor-next/prev and string-any/every 2020-01-31 23:26:38 +08:00
Alex Shinn
708f57ffed SRFI 151 fixes: bitwise-if arg order swapped from SRFI 33; bit-set? on negative integers should extend infinite 1s; bit-field-every? should compare only bits within mask 2020-01-31 23:12:20 +08:00
Alex Shinn
6a2ed9cdb4 fix iset-intersection on large trees in the first argument (issue #606) 2020-01-27 21:52:17 +08:00
Adam R. Nelson
6aacffc0e8 fix make-comparator hash function arity in SRFI 128 2020-01-12 09:45:38 -05:00
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