Commit graph

113 commits

Author SHA1 Message Date
Alex Shinn
d1e9162012 Fixing some edge cases in arithmetic-shift. 2014-01-26 11:22:53 +09:00
Alex Shinn
e0fc986db8 Consolidating common SRFI-1 and R7RS bindings into the core. 2014-01-26 00:06:08 +09:00
Alex Shinn
c17a30942f More bignum division fixes. 2014-01-25 23:52:39 +09:00
Alex Shinn
9a48e29bdd Fixing bug in new bignum division reported by Lorenzo. 2014-01-21 22:38:27 +09:00
Alex Shinn
7d38ec4786 Shortcut for general quotient/remainder with a denominator of 1. 2014-01-20 22:51:36 +09:00
Alex Shinn
b8b821e75a Adding a syntax test inserting a top-level identifier also referenced by a macro template. 2014-01-20 21:50:31 +09:00
Alex Shinn
f2f29aa8b3 Adding prime utilities library. 2014-01-19 23:13:11 +09:00
Alex Shinn
6f5f0c6627 Adding nested guard test from Per Bothner. 2014-01-09 10:33:08 -05:00
Alex Shinn
2c46b2d8ab Adding Jussi's letrec* example, forwarded by Per Bothner. 2014-01-03 12:29:19 +09:00
Alex Shinn
f692697929 Adding additional R7RS exception tests from Per Bothner. 2014-01-03 12:28:07 +09:00
Alex Shinn
e4c70383a7 Faster bignum division. 2013-12-31 09:07:41 +09:00
Alex Shinn
e0db95d3de Updating mime tests. 2013-12-21 19:15:47 +09:00
Alex Shinn
1abee0b788 Simplifying bog/eog matches. 2013-11-30 00:41:36 +09:00
Alex Shinn
80c2f3f02c Adding support for w/ascii. 2013-11-16 08:12:50 +09:00
Alex Shinn
5fe299d4fc Renaming rx-match to regexp-match, and regexp-match to regexp-matches. 2013-11-09 16:53:51 +09:00
Alex Shinn
d2bd4d6d44 Fixing bug in iset-adjoin for values already present at a node boundary. 2013-11-09 16:35:22 +09:00
Alex Shinn
c0619b769d rx-match-* procedures no longer take a string argument. 2013-11-06 22:57:47 +09:00
Alex Shinn
cefec12756 Making boolean=? and symbol=? n-ary.
Fixes issue #204.
2013-11-02 22:30:40 +09:00
Alex Shinn
906d071756 Adding grapheme/bog/eog support.
Fixing offset computations in regexp-fold.
2013-10-29 06:49:13 +09:00
Alex Shinn
961e5e885b Adding regexp-tests to the test-libs target. 2013-10-15 15:06:01 +09:00
Alex Shinn
5c5a279657 Adding extra regexp-split test case. 2013-10-15 14:27:39 +09:00
Alex Shinn
83262a9dfa Adding pretty-printing format combinators. 2013-10-13 19:49:15 +09:00
Alex Shinn
3ce042bba1 Adding initial version of (chibi show) successor to the fmt combinator formatting library. 2013-10-08 21:31:20 +09:00
Alex Shinn
7a3f0a7362 Adding special handling for final sigma in (scheme char) case mappings.
Fixes issue #147.
2013-09-29 15:09:21 +09:00
Alex Shinn
3683e8cbdc Adding special case (non-1-to-1) char case mappings. 2013-09-29 14:45:51 +09:00
Alex Shinn
87624c68ab Patch from Per Bothner to verify new boolean literals with delimiters. 2013-09-29 13:25:46 +09:00
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