Commit graph

3509 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
7366a13413 adding content-type output for http server files 2020-07-17 14:42:28 +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
9104fcc44e print skipped tests in verbose mode 2020-07-15 16:33:52 +09:00
Alex Shinn
fc33d6ffa3 implementing basic colors for pretty-with-colors 2020-07-14 23:58:27 +09:00
Alex Shinn
3700cfaf91 forgot extern (issue #669) 2020-07-14 20:32:30 +09:00
Alex Shinn
b9a76ad9d8 late cpp definitions should use XCPPFLAGS, not CPPFLAGS (issue #670) 2020-07-14 10:12:07 +09:00
Alex Shinn
e300659662 don't export sexp_primitive_opcodes (issue #669) 2020-07-14 10:08:21 +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
9940e0d053 Merge branch 'master' of github.com:ashinn/chibi-scheme 2020-07-13 10:02:11 +09:00
Alex Shinn
5d9a53f6e3 adding tmux-256color to list of terms supporting color 2020-07-13 10:02:00 +09:00
Alex Shinn
8020d3e97e
Merge pull request #667 from katterjohn/fix-nan-comparisons
Fix some NaN comparisons: NaNs are not less than every fixnum
2020-07-11 11:53:34 +09:00
Alex Shinn
d4944a75d6 fix typo reported by Arthur Gleckler 2020-07-11 06:41:14 +09:00
Kris Katterjohn
eb9d632dbf Fix some NaN comparisons: NaNs are not less than every fixnum
(< +nan.0 n) was yielding #t for fixnum n, and similarly for
(<= +nan.0 n) and (> n +nan.0) and so on.  This also caused
(negative? +nan.0) to return #t.

It just happened that NaNs were less than all fixnums: if a
conditional was written the other way around then NaNs would
have been greater than all fixnums instead.

The flonum case was sort of "accidentally" correct, but if a
conditional was written the other way around then NaNs would
be both less than or equal to and greater than all or equal
to all flonums (but still not equal).

For both cases check for NaNs after getting the flonum values.
2020-07-10 16:49:56 -04:00
Alex Shinn
f6eeb1c9f6
Merge pull request #666 from katterjohn/delay-wna
Check the number of args to delay and delay-force
2020-07-09 09:53:09 +09:00
Kris Katterjohn
948252517f Check the number of args to delay and delay-force 2020-07-08 19:15:06 -04:00
Alex Shinn
6fabc92b3d
Merge pull request #665 from katterjohn/chown
(chibi filesystem): add chown
2020-07-09 07:06:44 +09:00
Kris Katterjohn
f4526f7fc8 (chibi filesystem): conditionalize chown to fix Windows build 2020-07-08 15:36:21 -04:00
Kris Katterjohn
8ae99cff92 (chibi filesystem): add chown 2020-07-08 15:12:14 -04:00
Alex Shinn
e31e5ffbf3 updating (chibi json) to work on ports 2020-07-08 17:27:05 +09:00
Alex Shinn
2bdaebe8c7 wrap uncaught non-exceptions (issue #664) 2020-07-06 16:20:40 +09:00
Alex Shinn
f2d38e36c7 fixing (srfi 159) after refactoring 2020-07-06 15:09:49 +09:00
Alex Shinn
a6e8e9d7ba env vars are identifiers, not symbols; fix evaluation time (issue #516) 2020-07-06 15:00:27 +09:00
Alex Shinn
47b0a19733 adding point to headers for C API docs 2020-07-06 14:41:50 +09:00
Alex Shinn
72668b6d26 fixing ,@ patterns 2020-07-06 14:24:22 +09:00
Alex Shinn
cb5f523532 adding ..= and ..* patterns to match (issue #535) 2020-07-06 13:42:34 +09:00
Alex Shinn
da5827d889 generate SRFI 166 snowball 2020-07-06 10:55: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
89a5b97e3c remove duplicate tests 2020-06-27 07:13:07 +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
cd7480ce45 fixing image search path loading after switching to snprintf 2020-06-23 10:35:12 +09:00
Alex Shinn
06cef55723 guard should use raise-continuable (issue #661) 2020-06-19 17:48:29 +09:00
Alex Shinn
e8f1233e18 cleaning up test names 2020-06-19 17:37:55 +09:00
Alex Shinn
80d2db51d8 fix sexp_opcode_argn_type initialization with gaps between the 3rd arg and k>4th arg 2020-06-19 16:45:41 +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
278bb48b00 error on recursive includes (issue #557) 2020-06-16 11:44:10 +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
d511b8e31d s/VERSION/CHIBI_VERSION to avoid conflicts (issue #659) 2020-06-15 18:54:20 +09:00
Alex Shinn
08c72aca59 handle shared dotted tail in writing lists (issue #618) 2020-06-15 12:22:16 +09:00
Alex Shinn
4734fc1e40 friendlier report for error on module files with the wrong name (issue #624) 2020-06-15 11:51:32 +09:00
Alex Shinn
aa2a87fbba
Merge pull request #658 from lkstl/master
Use r7rs lazy primitives in srfi 41
2020-06-10 08:39:05 +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