Commit graph

87 commits

Author SHA1 Message Date
Alex Shinn
ddfdd04a8f Additional list-copy tests from Per Bothner. 2013-09-26 16:07:56 +09:00
Alex Shinn
d0360178f1 Patch from Per Bothner for => in non-terminal case clauses. 2013-09-25 09:27:38 +09:00
Alex Shinn
00650e13a0 Updating tests to allow for some potentially inexact results,
and non-zero-based indexing for reader labels, as reported by
Per Bothner.
2013-09-08 18:01:54 +09:00
Alex Shinn
d1efacb9c4 Updating compose example to force exact result. 2013-09-02 20:46:43 +09:00
Alex Shinn
c381c2cf41 Patch for better error reporting in numeric tests from Per Bothner. 2013-09-02 20:44:10 +09:00
Alex Shinn
75cf2d7331 Adding memoization library. 2013-09-01 23:08:33 +09:00
Alex Shinn
d198557c8b Adding path-strip-leading-parents. 2013-08-31 20:02:53 +09:00
Alex Shinn
44bf9837ca Adding path-relative-to utility, plus pathname cleanup and tests. 2013-08-21 22:52:26 +09:00
Alex Shinn
a1e22d42d4 Fixing bug in uri path parsing. 2013-08-18 17:09:39 +09:00
Alex Shinn
92ccc0144a Patches from Ben Mather.
Allow #f to leave (srfi 99) record constructors and predicates undefined.
Distinguish default immutable fields (raw identifier), from default
mutable fields (list of one identifier) in the syntactic layer by not
creating setters for the immutable fields.  The record introspection
can still mutate such fields.
Fixes issue #190.
2013-07-30 21:15:24 +09:00
Alex Shinn
19e5398b92 Allowing a default predicate for methods.
Fixes issue #191.
2013-07-29 21:16:18 +09:00
Alex Shinn
8afb59f9ac Avoiding case-folding large, pre-defined Unicode char-sets. 2013-07-27 15:32:22 +09:00
Alex Shinn
205c60a807 Initial version of (chibi regexp). 2013-07-24 21:36:02 +09:00
Alex Shinn
937a47efd2 Adding mime tests. 2013-07-21 14:04:44 +09:00
Alex Shinn
b6e2829b5d Updating (chibi uri) to use new string-find return values, which
were changed to offsets rather than potentially #f.
Also consistently using string-cursor API rather than indexes.
Fixes issue #189.
2013-07-21 14:01:36 +09:00
Alex Shinn
dddc6d1806 Changing scribble notation to use TeX-style \ instead of @.
Documentation looks much nicer now (or at least more familiar).
Test cases become ugly because we need to double the escape in
strings.  Also escaping requires \"\\" which in a Scheme string
gets written \\"\\\\".  Consider \\ as a shortcut (which is still
\\\\ in a string).
2013-07-14 12:52:28 +09:00
Alex Shinn
4a7f1867d5 (chibi mime) now case-folds then interns headers to match normal SXML. 2013-07-13 10:38:50 +09:00
Alex Shinn
92b7304f89 Using standard @ instead of ^ as the SXML attributes symbols.
This was never a portable aspect of SXML before because in earlier
standards @ was an illegal identifier, but it is allowed in R7RS.
Scribble requires escaping with @|@| to pass through a raw @ symbol.
Considering using \ as the default scribble escape instead.
2013-07-13 10:04:40 +09:00
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