Commit graph

1727 commits

Author SHA1 Message Date
Alex Shinn
d7cda433bc Adding a shortcut for -xscheme.base. 2013-10-03 12:01:54 +09:00
Alex Shinn
db32409452 If unbound, using current-output-port in place of current-error-port for -x languages.
Allows -xscheme.r5rs.
2013-10-03 11:36:39 +09:00
Alex Shinn
3c8c1fe74b Handling case where opendir fails in directory-fold-tree. 2013-10-03 09:37:33 +09:00
Alex Shinn
8ddee1f704 Adding missing "extern" from SEXP_API definition.
Fixes issue #197.
2013-10-03 09:34:43 +09:00
Alex Shinn
179aea56a0 Fix potential memory overwrite in sexp_bignum_fxmul.
Patch from Lorenzo.
2013-10-02 10:53:01 +09:00
Alex Shinn
20aa69033c Adding file-lock interface to flock(2) to (chibi filesystem). 2013-10-01 15:14:17 +09:00
Alex Shinn
82752174c2 Fixing env initialization for -m. Needed for -mchibi.repl -e'(repl)' to
use the default (scheme base) language.
2013-09-30 12:04:59 +09:00
Alex Shinn
216bfb87c9 containing-module should account for the fact the a module's environment may not yet be set. 2013-09-30 10:57:07 +09:00
Alex Shinn
a54c6c4e98 The big switch to (scheme base) as the default interaction-environment. 2013-09-30 10:53:21 +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
6094e5fb12 Adding string and symbol quote delimiters to list of read delimiters in (scheme read). 2013-09-29 13:42:24 +09:00
Alex Shinn
ae1f0fd76d Reverting patch from Peter Michaux. 2013-09-29 13:26:59 +09:00
Alex Shinn
67e50cefaa Exporting conf-source 2013-09-29 13:26:13 +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
368191918b Patch from Peter Michaux to allow reordering the heap struct
so the data pointer is not the last element.
2013-09-29 13:14:34 +09:00
Alex Shinn
5b879a2b55 Adding -? to print help with no "unknown option" error message. 2013-09-29 11:17:38 +09:00
Alex Shinn
008d13b294 Making new -x handling work with -e/-p.
Optimizing the -xchibi.primitive case to use -q (i.e. no file I/O).
2013-09-29 11:15:29 +09:00
Alex Shinn
5e4c6a8848 Removing the deprecated (scheme) module. 2013-09-29 11:06:09 +09:00
Alex Shinn
86d9957ae9 Making sexp_make_primitive_env available from Scheme.
Adding the (chibi primitive) module to access this directly.
2013-09-29 11:05:54 +09:00
Alex Shinn
eb4adcc9dd Better -x handling. If the language defines the standard port
parameters but doesn't bind them, we bind them to stdin/stdout/stderr.
If the parameters are not defined at all, we abort.
2013-09-29 11:04:20 +09:00
Alex Shinn
f21b4e3025 Adding #! line to echo-server.scm. 2013-09-28 13:05:23 +09:00
Alex Shinn
fbfe1f1b5b Adding 'reloader?: keyword to memoize-file-loader. 2013-09-26 19:57:20 +09:00
Alex Shinn
b27143a96c Fixing list-copy for improper lists. 2013-09-26 16:09:39 +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
f56c89fbc1 Documentation clarification on the arguments to sexp_alloc_tagged from Lorenzo. 2013-09-24 15:51:29 +09:00
Alex Shinn
a9d4bf434c GC-preserving intermediate sexp_fixnum_to_bignum result in sexp_expt.
Patch from Lorenzo.
2013-09-24 15:51:12 +09:00
Alex Shinn
7d2b60e1aa Fixing some bignum length comparisons. 2013-09-24 15:46:23 +09:00
Alex Shinn
94615fb11e Default conf parent is #f, not null. 2013-09-22 18:55:21 +09:00
Alex Shinn
724390d596 Exporting regexp-match?. 2013-09-18 00:18:36 +09:00
Alex Shinn
d85cff247e Fixing bug when using -x with a language which doesn't have
interaction-environment.  We need to set this in the underlying
core environment first.  Fixes issue #193.
2013-09-14 22:31:27 +09:00
Alex Shinn
ca6f2e07cf Switching SEXP_USE_SEND_FILE to a whitelist for BSD and Linux,
instead of a blacklist.  Fixes issue #192.
2013-09-14 21:42:11 +09:00
Alex Shinn
5795f132ca Adding memoize-file-loader. 2013-09-08 18:23:39 +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
fd9e9b5bf1 Replacing exact, inexact opcodes with primitive functions. 2013-09-08 17:48:38 +09:00
Alex Shinn
d32cc99cc1 Adding set-current-environment! and using it in the pure-Scheme load.
This is necessary if the loaded file uses import.
2013-09-02 21:05:42 +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
080cdef849 Adding create-directory*. 2013-08-31 20:16:01 +09:00
Alex Shinn
d198557c8b Adding path-strip-leading-parents. 2013-08-31 20:02:53 +09:00
Alex Shinn
38685f6aca Adding procedure-arity and procedure-variadic?. 2013-08-31 20:02:39 +09:00
Alex Shinn
76b0209725 Adding setenv/unsetenv. 2013-08-29 23:18:31 +09:00
Alex Shinn
8629b10ca0 (fork) now kills other threads atommically in the child. Use
(%fork) to keep other threads running in both parent and child.
2013-08-24 15:39:29 +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
7a27341ecd Adding initial send-file interface. 2013-08-18 18:36:24 +09:00
Alex Shinn
a32edf7138 Making port-fileno support non-stream ports. 2013-08-18 18:34:06 +09:00
Alex Shinn
a6e71e47b8 Adding port-fileno. 2013-08-18 17:45:23 +09:00
Alex Shinn
a1e22d42d4 Fixing bug in uri path parsing. 2013-08-18 17:09:39 +09:00