Commit graph

1763 commits

Author SHA1 Message Date
Alex Shinn
d543583e88 Adding support for single char named char-sets by prefixing with ":". 2013-10-29 06:48:05 +09:00
Alex Shinn
03bbdea1ba Adding initial UAX #29 boundary char-sets. 2013-10-29 06:47:15 +09:00
Alex Shinn
ecd450c4c3 Shortcut for word+ to avoid expensive char-set intersection. 2013-10-20 20:29:47 +09:00
Alex Shinn
ce3b1fcecf Supporting =, >= and ** repetition patterns. 2013-10-20 18:27:10 +09:00
Alex Shinn
8f9ba977c3 Fixing name offsets. 2013-10-20 17:31:05 +09:00
Alex Shinn
eca3895a00 Adding missing string-cursor utilities for non-Chibi implementations. 2013-10-20 17:28:39 +09:00
Alex Shinn
6f57182633 The final offset was off in regexp-fold for regexps not ending in a match.
Fixes issue #203.
2013-10-15 15:23:23 +09:00
Alex Shinn
961e5e885b Adding regexp-tests to the test-libs target. 2013-10-15 15:06:01 +09:00
Alex Shinn
5866ec9b59 Fixing -V output for features list. 2013-10-15 14:31:13 +09:00
Alex Shinn
5c5a279657 Adding extra regexp-split test case. 2013-10-15 14:27:39 +09:00
Alex Shinn
617fbbba6a Export a make-tm constructor to generate time values.
Patch from Barry Fishman.
2013-10-15 09:06:50 +09:00
Alex Shinn
045c96bbf4 Patch from Barry Fishman for C-p, C-n to act as alternates to the up/down arrows in the standard edit-line. 2013-10-15 09:01:48 +09:00
Alex Shinn
156505e798 The environment chain lookup should ignore undefined cells if there
are defined cells available.  This avoids previously undefined values
blocking an export-all import.
2013-10-14 08:10:34 +09:00
Alex Shinn
83262a9dfa Adding pretty-printing format combinators. 2013-10-13 19:49:15 +09:00
Alex Shinn
eebe3f0448 Always normalize bignum results in sexp_mul. 2013-10-13 07:02:22 +09:00
Alex Shinn
d983a5571f Patch from Lorenzo for better handling of non-normalized bignums. 2013-10-13 06:55:48 +09:00
Alex Shinn
3f13fd485e Adding missing (c-system-include "sys/file.h") for flock constants.
Fixes issue #199.
2013-10-10 16:42:28 +09:00
Alex Shinn
7a5f317811 Fixing bug in the non-strict top-level identifier matching logic.
Matching worked when both bindings were missing, and when both
bindings were present at the top-level but different.  The case
when only one top-level binding was present wasn't handled correctly.
Local lexical matching remains unchanged.
Fixes issue #198.
2013-10-10 16:41:01 +09:00
Alex Shinn
363d2bda24 Also reset the context env when updating interaction-environment.
Fixes issue #200.
2013-10-10 16:31:28 +09:00
Alex Shinn
3995c4505f Writing out the pointer value of unwritable types. 2013-10-10 16:27:30 +09:00
Alex Shinn
67c9e7ca7c (chibi log) only needs (chibi show base), like most libraries which
provide a combinator formatting interface.
2013-10-08 21:43:27 +09:00
Alex Shinn
d80c7ff152 Adding customizable logging library with combinator formatting. 2013-10-08 21:40:06 +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
952d665860 Adding build rules for chibi/monad/... 2013-10-08 21:28:32 +09:00
Alex Shinn
505c608679 Adding initial environment monad for use in combinator formatting. 2013-10-08 21:26:49 +09:00
Alex Shinn
a887b49e0c make-syntactic-closure generates a copy of existing closures, to allow for syntax generated syntax. 2013-10-07 18:57:43 +09:00
Alex Shinn
03b4ccc848 Writing out syntactic closures in the simple writer. 2013-10-07 18:54:04 +09:00
Alex Shinn
39eba86d49 Don't warn on import redefining an undefined value. 2013-10-04 16:45:50 +09:00
Alex Shinn
f9d73ddc30 Adding the -R<module> option to run "main" procedures directly from modules,
analogous to Python's -m.  With no argument, runs chibi.repl.
2013-10-04 12:04:50 +09:00
Alex Shinn
e037027fcf Fixing directory-fold to return knil on non-existing directories.
Fixing file-regular?/directory?/... shortcut tests to return #f
for non-existent files instead of a confusing error.
2013-10-04 10:42:49 +09:00
Alex Shinn
8b15884658 Supporting (chibi repl) advise from main.c. 2013-10-03 23:34:17 +09:00
Alex Shinn
3b7a042d61 Adding repl-advise-exception, currently advising potential modules exporting unbound indentifiers. 2013-10-03 12:42:18 +09:00
Alex Shinn
7004feed5e Adding closedir call to directory-fold-tree. 2013-10-03 12:30:24 +09:00
Alex Shinn
2d8371c258 Adding missing changes to available module introspection from 1729:f1e5f235d684. 2013-10-03 12:14:59 +09:00
Alex Shinn
fc2ca6181f Adding introspection to available unloaded modules. 2013-10-03 12:14:31 +09:00
Alex Shinn
daf5478824 Fixing failed opendir handling from 1725:739f90999b17. 2013-10-03 12:12:16 +09:00
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