Commit graph

1287 commits

Author SHA1 Message Date
Alex Shinn
7fd75dc439 adding strcasestr for plan9 2012-03-27 21:47:13 +09:00
Travis Cross
3628abad7b remove unused but set variable 2012-03-27 00:04:48 +00:00
Alex Shinn
990cc8293b write-string works with bytevectors as well 2012-03-27 21:25:01 +09:00
Alex Shinn
68e9a10ea7 output ports now non-blocking by default as well 2012-03-25 18:19:16 +09:00
Alex Shinn
886d47c27b fixing bug in complex exp function 2012-03-25 10:32:24 +09:00
Alex Shinn
8f69961832 initial c++ ffi support 2012-03-24 20:42:49 +09:00
Alex Shinn
13a498c69d Fixing complex = comparisons. 2012-03-22 23:21:15 +09:00
Alex Shinn
c8b93f2c05 Raising an error when attempting to get-ouput-string from a non-string output-port. 2012-03-19 21:10:18 +09:00
Alex Shinn
1afb807699 Fixing time? to handle a timeval or (timeval timezone) pair. 2012-03-15 22:58:32 +09:00
Alex Shinn
3c3666ad68 Adding tests and fixing exactness issues in division operators per issue #102. 2012-03-12 23:21:11 +09:00
Alex Shinn
933680a838 Fixing offset in (scheme time) - epoch is 00:00:10, which means there are 24, not 34 leap seconds. 2012-03-11 18:19:32 +09:00
Alex Shinn
13c80c07a0 timeouts can be either time objects or seconds 2012-03-08 21:08:07 +09:00
Alex Shinn
ae203e2e82 Fixing bug reading unnamed chars at eof.
Adding support for R7RS extended char names.
2012-03-08 07:11:00 +09:00
Alex Shinn
4cf1e72625 Adding R7RS extended char names. 2012-03-07 21:19:58 +09:00
Alex Shinn
bbe56ad069 Fixing bug in "no expansion" error handling for syntax-rules. 2012-03-07 07:05:18 +09:00
Alex Shinn
5a803b2411 Converting opcode names to symbols in ast->sexp. 2012-03-07 06:58:39 +09:00
Alex Shinn
e0151c2a51 Proper undefined identifier warnings for libraries.
Works with begin and include, order no longer matters.
2012-03-01 21:51:05 +09:00
Alex Shinn
d6aaaa99d1 set! on an undefined variable now triggers an error 2012-02-29 21:33:30 +09:00
Alex Shinn
51df221034 Adding make-rtd test. 2012-02-12 13:40:16 +09:00
Alex Shinn
5633b1dcf9 Order of arguments flipped for make-rtd. 2012-02-12 13:38:25 +09:00
Alex Shinn
0ad792a100 Resetting (interaction-environment) after -x<language>. 2012-02-11 20:09:06 +09:00
Alex Shinn
e2bda89eba No need to include flonum printing code when flonums are disabled. 2012-02-03 00:10:13 +09:00
Alex Shinn
1d1d1cb64d (scheme-report-environment n) throws an error for unknown n 2012-02-02 23:48:34 +09:00
Alex Shinn
066d24c2d1 Not warning about undefs on an error is bad - modifying to warn for everything
except the irritants of the error, to avoid the duplicate warn+error undefined.
2012-02-02 23:44:15 +09:00
Alex Shinn
af60e10c4f Now that bugs are fixed, re-using same stack for eval. Restores stack traces. 2012-02-02 23:16:16 +09:00
Alex Shinn
3d1a230b8c explicitly disabling flonums and leaving ratios and complex unspecified disables them as well 2012-01-25 21:38:10 +09:00
Alex Shinn
2ac6e8fe33 removing references to round when not compiling with math or flonums 2012-01-24 21:52:11 +09:00
Alex Shinn
902b38ab88 Documenting some utilities, notably sexp_symbol_to_string which is the only public interface to symbols. 2012-01-22 14:10:43 +09:00
Alex Shinn
5257e7f4d7 renaming symbol accessors to lsymbol, and clarifying the use of SEXP_USE_SAFE_ACCESSORS 2012-01-22 13:53:27 +09:00
Alex Shinn
fd87d5ecd0 adding sexp_symbol_to_string wrapper macro 2012-01-22 12:43:19 +09:00
Alex Shinn
ad46061a5b various srfi-1 fixes 2012-01-22 11:38:49 +09:00
Travis Cross
29b461bb44 Add tests from SRFI-1 examples. 2012-01-19 16:11:12 +00:00
Alex Shinn
5ab7c1ccd9 adding print-stack-trace primitive 2012-01-22 10:54:24 +09:00
Alex Shinn
12e18c9997 Need to set return type for zero-argument constructors. 2012-01-15 21:28:41 +09:00
Alex Shinn
6fa22a8cb0 Fixing procedure-code and procedure-vars definitions, which were incorrectly using slots. 2012-01-15 12:04:05 +00:00
Alex Shinn
087f2170f8 Adding call-with-process-io and other process utilities. 2012-01-11 00:06:36 +09:00
Alex Shinn
f77366f1ad Adding open(2) interface. 2012-01-11 00:03:57 +09:00
Alex Shinn
8e6927001c Apply checks for stack overflow. 2012-01-09 17:19:51 +09:00
Alex Shinn
1dd61a26f3 Adding support for bi-directional ports, and making (chibi net) use them for sockets.
Also modifying FFI to automatically make input ports non-blocking,
and fixing R7RS incompatibility where closing an already closed
port signalled an error.
2012-01-05 23:39:00 +09:00
Alex Shinn
380a551f43 Refactoring __attribute__((unused)). 2012-01-05 14:19:30 +09:00
Alex Shinn
663f34000c Escaping "@" in documentation. 2012-01-04 16:02:51 +09:00
Alex Shinn
7479b9775b Removing warnings reported by Travis Cross. 2012-01-04 15:59:28 +09:00
Alex Shinn
944561b4da Reducing floating point errors in iota. 2012-01-04 15:11:12 +09:00
Alex Shinn
a81004672d Flonum/ratio comparison fix from pod. 2012-01-03 11:23:47 +09:00
Alex Shinn
34a85bf007 removing auto-generated file accidentally checked-in 2012-01-03 11:22:26 +09:00
Alex Shinn
2a8fe7738e Giving a more helpful error message when not all I/O ports are available in the repl. 2012-01-02 16:33:59 +09:00
Travis Cross
7b23858d86 Fix off-by-one error in command-line argument handling.
Previously (command-line) did not include the script name, but did
include the executable name if no script was given.  Now if a script
is given its name will be the first element of the list returned by
(command-line) and will be the first element of the list passed to
(main).

This brings us into compliance with SRFI-22.  Our man page was already
correct on this point.
2011-12-31 09:03:21 +00:00
Alex Shinn
904ae5743e Updating the front of the thread list when a signal is caught.
This fixes the delay caused when a signal is caught while only a
single other thread is running.
2011-12-25 17:14:01 +09:00
Alex Shinn
52a3f55721 Making exceptions properly thread-local. 2011-12-25 16:28:53 +09:00
Alex Shinn
87970984c7 Defining with-in/output-from/to-file in terms of dynamic-wind. 2011-12-20 00:58:27 +09:00