Commit graph

245 commits

Author SHA1 Message Date
Alex Shinn
2735b36c87 adding type checks for random-source-make-* 2017-01-14 15:08:14 +09:00
Marc Nieper-Wißkirchen
7197accf1f fixed let(*)-values when no bindings are given 2017-01-10 22:59:00 +01:00
Alex Shinn
13fbdd781f Fixing bitwise-ior/xor on negative bignums (issue #375). 2016-08-06 15:42:01 +09:00
Alex Shinn
62ca18c1a4 compare record field names with eq?
Fixes issue #367.
2016-06-25 22:53:37 +09:00
Alex Shinn
5a770c4909 adding tests from issue #363 2016-06-19 13:14:00 +09:00
Alex Shinn
18b41bcda0 make-rtd expects a symbol record name, not string 2016-06-19 13:09:45 +09:00
Alex Shinn
b88f13ef4a preserving hygienie in define-record-type 2016-06-18 23:02:25 +09:00
Marc Nieper-Wißkirchen
00d50d59f5 Add SRFI 124 interface to Chibi's ephemerons.
(Note that although Chibi's implementation of proper ephemerons is not
complete, it still counts as an implementation of SRFI 124, which even
allows a trivial implementation.)
2016-06-10 18:40:25 +02:00
Alex Shinn
8ac14b5f91 Fixing printing of x-0.0i (issue #352). 2016-06-06 22:18:47 +09:00
Alex Shinn
60448d1d3b "\xNN;" inline hex escapes should also support uppercase \X.
Fixes issue #347.
2016-06-04 22:19:43 +09:00
Alex Shinn
0a0db861ed Fixing intraline whitespace parsing followed immediately by another escape.
Fixes issue #343.
2016-06-04 22:06:35 +09:00
Alex Shinn
25a8e4f11a adding more srfi 130 tests 2016-05-17 23:38:45 +09:00
Alex Shinn
c1e7e1f23a duplicate labels only forbidden for definition, not referencing 2016-05-16 23:25:52 +09:00
Alex Shinn
1e76e39b9a don't allow redefining reader labels
Fixes issue #337.
2016-05-16 22:56:51 +09:00
Alex Shinn
c7b9cb0879 Fix #x#i... numeric parsing (fixes issue #332). 2016-05-15 20:27:36 +09:00
Alex Shinn
19f6ea6054 s/string-cursor-backward/string-cursor-back 2016-05-15 07:40:38 +09:00
Alex Shinn
d019c05150 adding a 3-arg string-contains test 2016-05-15 07:37:49 +09:00
Alex Shinn
c005459335 removing string-split-right 2016-05-12 08:11:41 +09:00
Alex Shinn
2165f19af5 more srfi 130 tests and fixes 2016-05-12 00:14:50 +09:00
Alex Shinn
5ab99635c5 Corner cases in complex infinities. Fixes issue #331. 2016-05-11 23:19:22 +09:00
Alex Shinn
0113e1e5d5 fixing string-contains-right 2016-05-11 08:07:32 +09:00
Alex Shinn
1621d481f3 adding initial chibi version of SRFI 130 2016-05-10 22:49:31 +09:00
Alex Shinn
0c80f38a19 making string-cursors a disjoint type 2016-03-29 22:25:09 +09:00
Alex Shinn
22bfa48698 fix escaping |.| on write, and funny symbols in srfi 38 in general 2016-03-13 09:33:24 +09:00
Alex Shinn
b60a9a28a7 move definitions to start of body 2016-02-28 18:05:02 +09:00
Chris Walsh
9db22a4f7a Made static definitions for srfi/95 and srfi/27 so work with images. Put makefile back to -O3 so optimized binaries made by default 2016-02-20 09:16:58 -05:00
Chris Walsh
2005c19ea0 Added full support for packed images, both for static and dynamic libraries. 2016-02-15 21:12:58 -05:00
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