Commit graph

119 commits

Author SHA1 Message Date
Alex Shinn
050b353f34 Adding missing eof-object procedure.
Fixes issue #183.
2013-06-25 22:22:01 +09:00
Alex Shinn
11b7a05308 For now build tests just check the core. 2013-06-17 22:27:32 +09:00
Alex Shinn
b3ad71cb90 Updating test targets. "make test" now runs the R7RS test suite.
"make test-all" runs R7RS + libs + FFI.  "make test-dist" also
runs memory and build tests.
2013-06-17 22:07:20 +09:00
Alex Shinn
74c121f2b2 Updating ephemerons use a context local type id.
Disabling weak vectors for now.
2013-06-17 22:02:55 +09:00
Alex Shinn
9c56a53797 Fixing test-memory after sexp.c refactoring and improved stack traces. 2013-06-17 06:45:27 +09:00
Alex Shinn
83fb186edc Wrapping continuable exceptions in specially tagged exceptions rather than pairs.
This way C functions that check for and print exceptions support them
automatically.  Notably continuable errors in macro expansions, will had
temporarily been suppressed, are printed again.
2013-06-15 17:47:37 +09:00
Alex Shinn
d3cc4de281 Fixing typo in integer case of inexact numerator/denominator.
Fixes issue #179.
2013-06-11 21:01:38 +09:00
Alex Shinn
ced12fc92a Adding extra inexat numerator/denominator tests. 2013-06-11 06:57:53 +09:00
Alex Shinn
4c0bb08996 Fixing exactness in square test. 2013-06-04 21:59:08 +09:00
Alex Shinn
9ed486dbe3 Adding sexp_maybe_wrap_error utility to pass exceptions from the FFI without raising.
Fixes issue #156.
2013-05-29 23:37:30 +09:00
Alex Shinn
20a2c02b19 Adding backslash line read tests. 2013-05-28 21:23:52 +09:00
Alex Shinn
59c3171c39 Partition needs to split on <= to handle dups properly. 2013-05-11 13:39:36 +09:00
Alex Shinn
13f9d0f8d0 Fixing SRFI-95 sort for inexacts differing only in the fractional part
(reported by Alan Watson).
Also adding support for complex and ratios.
2013-05-11 12:34:16 +09:00
Alex Shinn
83b320a301 Adding parse-binary-op utility to (chibi parse common). 2013-05-03 00:12:44 +09:00
Alex Shinn
6c869d67db temporarily disabling scheme-report-environment test 2013-04-07 23:40:14 +09:00
Alex Shinn
af8aed4c5a string-split on the empty string is null, on a single space is two empty strings 2013-04-02 22:20:41 +09:00
ashinn
4452607836 Speeding up build tests with CFLAGS and parallel make.
Now all combinations complete in half a minute.
2013-03-23 21:17:08 +01:00
Alex Shinn
e18de40fe2 Adding initial parser combinator library. API still subject to change. 2013-02-21 22:56:07 +09:00
Alex Shinn
9f56df7de2 Forgot to add FFI test script. 2013-02-21 21:44:20 +09:00
Alex Shinn
7e30de04a8 Adding define-values corner case tests. 2013-01-29 21:54:09 +09:00
Alex Shinn
1594e2322b Adding extra exact-integer-sqrt tests. 2013-01-06 00:02:27 +09:00
Alex Shinn
97ee1b7b65 Fixing read-bytevector! on no input (adapted patch from Lorenzo). 2012-12-29 09:29:05 +09:00
Alex Shinn
e701c63762 string[-ci]<>=? are also n-ary 2012-12-26 23:58:08 +09:00
Alex Shinn
544b6a50c5 char[-ci]<>=? is n-ary (alas) 2012-12-26 23:26:32 +09:00
Alex Shinn
7ae254fc28 More accurate square roots for bignums - compute via iteration rather
than approximation via flonums for very large bignums.
2012-12-22 18:06:22 +09:00
Alex Shinn
48209fa1c1 Adding test for exception values stored in hash tables. 2012-12-22 16:37:18 +09:00
Alex Shinn
e4b86a5807 Updating SRFI-2 to support single variable references as clauses, and adding tests.
Also allowing empty bodies.  (I think both are terrible extensions.)
2012-12-15 13:06:32 +09:00
Alex Shinn
b4c2bbb625 delete-file raises a file-error on failure.
Other file operations continue to return #t/#f - may change this later.
2012-12-04 20:09:21 +09:00
Alex Shinn
bf2eaea22b Fixing same source/dest in *-copy!. 2012-11-23 21:01:41 +09:00
Alex Shinn
4a6af64dc4 Updating *-copy! tests to not assume minimum end. 2012-11-23 18:11:14 +09:00
Alex Shinn
0c7a01d13a Updated order of read-bytevector! arguments. 2012-11-23 17:28:07 +09:00
Alex Shinn
3dc5ecf16f Fixing typo in flush-output-port on textual port test case. 2012-11-23 16:52:00 +09:00
Alex Shinn
213e78037a Adding missing (scheme r5rs) library. 2012-11-23 16:48:14 +09:00
Alex Shinn
04b99a00da Cleaning up R7RS tests. 2012-11-11 17:22:14 +09:00
Alex Shinn
28460d3664 Adding additional unicode tests. 2012-11-11 15:53:46 +09:00
Alex Shinn
61b9214644 Adding infinite list map/for-each examples. 2012-11-11 15:39:43 +09:00
Alex Shinn
77bdb07584 Adding start/end parameters to string<->utf8. 2012-11-11 15:35:35 +09:00
Alex Shinn
54483179d2 Making chibi's write-string agree with R7RS.
Adding additional write tests.
2012-11-11 15:13:47 +09:00
Alex Shinn
9b6c954891 Adding reader label tests. 2012-11-11 14:41:44 +09:00
Alex Shinn
a9f4f3edd3 Checking that r7rs is in the features list. 2012-11-11 14:15:12 +09:00
Alex Shinn
aeb0109159 Adding additional tests for char names and string escapes. 2012-11-11 14:14:05 +09:00
Alex Shinn
2f5f7f73c7 Adding full unicode digit-value. 2012-11-11 13:38:17 +09:00
Alex Shinn
44c643c7cf Adding support for complex literals in exponential format. 2012-11-11 12:26:03 +09:00
Alex Shinn
1d3e043e68 Adding transitivity tests. 2012-11-07 21:41:11 +09:00
Alex Shinn
5b9a41f2c1 Adding environment tests. 2012-11-04 21:46:14 +09:00
Alex Shinn
33326888f0 Making rationalize on inexact numbers agree with the standard.
I still think this is pointless though.
2012-11-04 21:39:55 +09:00
Alex Shinn
9ac7caff59 Cleanup tests, adding case-lambda tests. 2012-11-04 15:05:10 +09:00
Alex Shinn
3bffe320a9 Adding Peter Bex's numeric parsing tests. 2012-11-04 00:43:20 +09:00
Alex Shinn
b3005cc0ee log takes two arguments now 2012-11-03 23:07:18 +09:00
Alex Shinn
369a4b01fb Updating R7RS tests. 2012-11-02 00:04:32 +09:00