Commit graph

18 commits

Author SHA1 Message Date
Alex Shinn
8a739d2698 handle [+-].[^0-9] symbols (fixes issue #307) 2016-02-04 23:30:39 +09:00
Alex Shinn
3cf21ee8db Mark unterminated strings and symbols in (srfi 38) as read-incomplete errors.
Fixes issue #305.
2016-02-02 22:55:30 +09:00
Alex Shinn
3e9092cfcc Raise an error on direct reader label self-references like #1=#1#.
Fixes issue #303.
2016-02-01 21:39:48 +09:00
Alex Shinn
23ac772e3a fix boundary case in arithmetic-shift for negative word sized shifts 2015-09-30 22:21:22 +09:00
Alex Shinn
94067a1ffe replacing quick sort in SRFI 95 with a stable merge sort 2015-07-04 23:18:01 +09:00
Alex Shinn
0ceb3726c1 sexp_object_compare should sort different numeric types together.
Fixes issue #271.
2015-06-20 22:40:04 +09:00
Alex Shinn
eab76ce8c1 Fixing #; comments as the last element in a list for (scheme read). 2015-06-13 21:57:31 +09:00
Alex Shinn
35279b45c3 adding tests for first..tenth 2015-06-08 23:59:55 +09:00
Frère Jérôme
453c0f1a1d Correction to the 8-10th selector aliases 2015-06-06 17:19:45 +02:00
Alex Shinn
00691b64f1 Making libraries portable where possible.
Many still import (chibi), and as (scheme base) is somewhat more
expensive to load at present these are changed to cond-expand.
Many libraries also rely on (srfi 33), and these have been changed
to a cond-expand first trying (srfi 60) where available.
Also fixing a few portability concerns (duplicate imports of the
same binding), and adding a few libraries missing from lib-tests.scm.
2015-04-26 16:17:38 +09:00
Alex Shinn
e230823cc6 Fixing random-integer for real. 2015-04-25 14:14:32 +09:00
Alex Shinn
7e80510755 Fixing typo in random-integer fix. 2015-04-25 13:05:17 +09:00
Alex Shinn
11cb17835b Adding sexp_int32_t definition. Fixing SRFI 27 bug on 32 bit machines.
Fixing the random-integer range to allow all results with a bignum bound.
2015-04-25 13:01:16 +09:00
Alex Shinn
4e5cdedc03 Converting tests to modules instead of separate programs.
By convention, a library meant for testing exports "run-tests".
Also by convention, assume the test for (foo bar) is (foo bar-test),
keeping the test in the same directory and avoiding confusion since
(chibi test) is not a test for (chibi).
- Avoids the hack of "load"ing test, with resulting namespace complications.
- Allows keeping tests together with the libraries.
- Allows setting up test hooks before running.
- Allows implicit inference of test locations when using above conventions.
2015-04-05 23:38:51 +09:00
Alex Shinn
3000523427 Bugfix in hash-table-copy which didn't copy hash function.
Patch from Alexei Lozovsky.
2015-03-13 07:10:41 +09:00
Alex Shinn
9b3529b0e6 Hacky C++ fixes. 2015-03-06 17:43:23 +09:00
Alex Shinn
64c148c9ce C++ fixes. 2015-03-06 17:35:06 +09:00
Alex Shinn
2922ed591d Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00