Commit graph

1710 commits

Author SHA1 Message Date
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
Alex Shinn
e464f30ba2 When write-char fails and no scheduler is loaded, wait 5ms to avoid busy looping. 2013-08-11 15:34:15 +09:00
Alex Shinn
af71abc817 write/ss only falls back on write in unknown cases. 2013-08-11 12:38:43 +09:00
Alex Shinn
325b3e20b3 Patch from Lorenzo to mkdir dest/chibi/parse before installing into it. 2013-08-05 07:08:45 +09:00
Alex Shinn
7ead052131 Auto-detecting and annotating common optional args patterns in extracted signatures. 2013-08-04 17:02:28 +09:00
Alex Shinn
1e59b80a53 Using detectable optional args. 2013-08-04 17:01:51 +09:00
Alex Shinn
e136aa78e2 Updating additional docs to use backslash. 2013-08-04 17:01:22 +09:00
Alex Shinn
3212f52327 Updating heap-stats docs to use backslash escape. 2013-08-04 16:56:06 +09:00
Alex Shinn
cb8f50882d Updating filesystem docs to use backslash escape. 2013-08-04 16:55:31 +09:00
Alex Shinn
da403f7deb Updating disasm docs to use backslash escape. 2013-08-04 16:54:01 +09:00
Alex Shinn
a50f707f3b Removing spurious section header. 2013-08-04 15:56:06 +09:00
Alex Shinn
43b6f6496a Fixing source line miscalculation in read-line for non-string-stream builds. 2013-08-04 15:37:53 +09:00
Alex Shinn
3193dcb650 Adding string-find? utility. 2013-08-04 15:22:53 +09:00
Alex Shinn
a6350e929e Adding lib/chibi/parse/* to installation. 2013-08-04 14:29:23 +09:00
Alex Shinn
9a2f5b2706 Setting CHIBI_MODULE_PATH=lib in makefile rules to avoid conflicts with user settings. 2013-08-04 14:25:58 +09:00
Alex Shinn
897819a877 Updating AUTHORS. 2013-07-30 21:18:53 +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