Alex Shinn
d7db3effa8
The guard-like macro in the core language is now called protect.
...
This is the recommended syntax for error-handling in Chibi-specific
programs, since it's not possible to get stack traces when using
R[67]RS guard. guard is defined separately and according to the
standard in (scheme base).
2013-06-15 18:43:44 +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
f8a5f7e004
exact-integer-sqrt should continue the babylonian method in scheme.
...
The estimate given by the C code could be off by a large margin when
the result is inexact, converging far too slowly if we use simple
increments in Scheme.
2013-04-14 04:59:49 +00:00
Alex Shinn
d13aa7c4f2
Cond-expand out threading code to load leap-second table dynamically when threads are disabled.
2013-02-27 09:04:15 +09:00
Alex Shinn
0daa2f270a
Ensuring exact-integer-sqrt always returns positive remainders.
...
Moving out of (chibi) into only (scheme base).
2013-01-05 23:45:30 +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
bf2eaea22b
Fixing same source/dest in *-copy!.
2012-11-23 21:01:41 +09:00
Alex Shinn
0c7a01d13a
Updated order of read-bytevector! arguments.
2012-11-23 17:28:07 +09:00
Alex Shinn
213e78037a
Adding missing (scheme r5rs) library.
2012-11-23 16:48:14 +09:00
Alex Shinn
6a47ebde08
Moving floor* and truncate* to (scheme base).
2012-11-11 17:07:34 +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
2f5f7f73c7
Adding full unicode digit-value.
2012-11-11 13:38:17 +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
6803c7311a
Exporting read-string.
2012-11-01 23:46:17 +09:00
Alex Shinn
73ea9c4e7a
Adding input-port-open? and output-port-open?.
2012-11-01 23:42:33 +09:00
Alex Shinn
ed443d42a2
adding bytevector procedure
2012-11-01 23:12:20 +09:00
Alex Shinn
dd168e5506
Fixing (byte)vector-copy! for non-zero at.
2012-11-01 23:05:12 +09:00
Alex Shinn
c8f3ba78a8
fixing string-copy!
2012-11-01 22:41:47 +09:00
Alex Shinn
c8b5e7343f
exporting string-copy!
2012-11-01 22:35:00 +09:00
Alex Shinn
d893c89838
exporting square
2012-11-01 21:32:10 +09:00
Alex Shinn
c0fc89ece4
Supporting (partially) infinite complex numbers.
2012-10-31 23:41:53 +09:00
Alex Shinn
c4edcc8d78
Adding emergency-exit.
2012-10-15 09:50:35 +09:00
Alex Shinn
6b467f4452
Splitting write into write (cycles only) and write-shared.
2012-10-15 09:44:30 +09:00
Alex Shinn
74d0980b82
Adding file-error? and read-error? predicates.
2012-10-14 23:27:16 +09:00
Alex Shinn
42f3b77b46
adding vector-append and bytevector-append
2012-10-14 23:15:31 +09:00
Alex Shinn
1ba4aeecaf
More optional start/end parameters.
2012-10-14 23:07:07 +09:00
Alex Shinn
bc4d01eac0
Adding include and include-ci to (scheme base).
...
The cwd is undefined - these macros are useless.
2012-10-14 22:37:46 +09:00
Alex Shinn
993e690891
Removing -partial bytevector variants.
2012-10-14 22:26:27 +09:00
Alex Shinn
08a5a2e0e8
Renaming the (scheme) library to (chibi). Leaving (scheme) as an alias for backwards compatibility.
2012-10-14 22:11:47 +09:00
Alex Shinn
b5046925f7
Fixing read-bytevector to use read-u8 instead of the hacked definition in terms of read-string.
2012-10-13 22:37:24 +09:00
Alex Shinn
47b88c850f
Adding (features) procedure.
2012-10-09 00:27:56 +09:00
Alex Shinn
4ad27c0179
Patch from Lorenzo for char-upcase/downcase on odd numbered chars next to a special case.
2012-09-02 15:06:04 +09:00
Alex Shinn
e562cc0be3
Incorporating Alan Watson's TAI time library.
2012-08-17 10:04:37 +09:00
Alex Shinn
748ccc06ea
Fixing full unicode versions of char- predicates.
...
Thanks to Barry Fishman.
2012-08-16 20:48:07 +09:00
Alex Shinn
4554b1f860
moving (chibi strings) to (chibi string) in conjunction with R7RS vote to prefer singular form of module names
2012-08-15 21:33:19 +09:00
Alex Shinn
cc1821a61e
(scheme char) now supports full unicode char properties and case mappings
2012-07-23 23:23:39 +09:00
Alex Shinn
0c9297d0d6
forgot to add the cxr library
2012-07-17 00:15:32 +09:00
Alex Shinn
881d976464
more accurate current-second
2012-06-25 22:03:54 -07:00
Alex Shinn
c4bf82842c
updates for changes from results of the fifth ballot
2012-05-20 18:44:25 +09:00
Alex Shinn
c8f13f8538
Adding (scheme cxr) library, removing all other references to c[ad]{3,4]r.
2012-05-20 15:16:11 +09:00
Alex Shinn
85a7efc003
automatically making sockets non-blocking on accept
2012-05-14 08:37:45 -04:00