Commit graph

67 commits

Author SHA1 Message Date
Alex Shinn
b4c2bbb625 delete-file raises a file-error on failure.
Other file operations continue to return #t/#f - may change this later.
2012-12-04 20:09:21 +09:00
Alex Shinn
3b232b241c Removing length* references in match, making match.sld portable R7RS. 2012-11-28 21:30:12 +09:00
Alex Shinn
5909732e82 fixing typo s/vetor/vector in largely unused set! code 2012-11-28 21:06:30 +09:00
Alex Shinn
209c96e305 Using string-copy for single argument substring. 2012-11-23 16:19:40 +09:00
Alex Shinn
b6ba47c2e3 Auto-importing the module being documented with chibi-doc.
Keeping environment separate from the interaction-environment.
2012-11-12 22:47:45 +09:00
Alex Shinn
a03147a0d3 Fixing missing newline in test output. 2012-11-11 16:41:44 +09:00
Alex Shinn
77bdb07584 Adding start/end parameters to string<->utf8. 2012-11-11 15:35:35 +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
5dbc970422 Fixing typo in every definition. 2012-11-11 12:31:42 +09:00
Alex Shinn
e2c8f144b5 Inlining every in (chibi test) to remove SRFI-1 dependency. 2012-11-10 21:10:14 +09:00
Alex Shinn
da4909907f Fixing test handling of inexact complex numbers. 2012-11-01 21:40:21 +09:00
Alex Shinn
2b1c508e7f removing deprecated (chibi strings) 2012-10-28 19:00:39 +09:00
arc
f646e0d470 changed port number from literal to listener-or-addr argument in server.scm 2012-10-27 23:29:07 +13:00
Alex Shinn
cec55dfe41 Adding let-optionals* to core as recommended way of handling optional arguments.
This is much faster (in chibi) and more concise than case-lambda.  Also adding
(chibi optional) for the let-optionals and opt-lambda variants.
Still need to add let-keywords*.
2012-10-21 17:22:16 +09:00
Alex Shinn
4a86e133a9 Fixing open-net-io to include socket in list of results. 2012-10-15 20:12:57 +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
eb88a24049 Updating open-net-io to check for filenos instead of integers. 2012-10-14 20:46:10 +09:00
Alex Shinn
fc1a1bd393 Adding tests and bugfixes for read-string[!]. 2012-10-13 21:54:30 +09:00
Alex Shinn
23d3d6dce7 Fixing getpwnam stub, adding test cases from pod. 2012-10-09 21:52:16 +09:00
Alex Shinn
1cfbcb232f s/delete-directory-hierarchy/delete-file-hierarchy/ 2012-09-24 23:07:03 +09:00
Alex Shinn
5675b19715 Adding directory traversing, deleting, and changing utilities. 2012-09-24 22:33:19 +09:00
Alex Shinn
1e8be72d21 re-exporting open-input-file-descriptor and open-output-file-descriptor from (chibi filesystem) 2012-09-23 23:44:47 +09:00
Alex Shinn
90ff32e3bd removing a stray tab 2012-09-23 22:32:27 +09:00
Alex Shinn
4a59cc5a68 Cleanup up echo server example. 2012-09-16 15:20:09 +09:00
Alex Shinn
470d562dd5 friendlier thread names for clients 2012-09-16 15:08:50 +09:00
Alex Shinn
46b7d943a5 Fixing read/write-u8 to block properly when srfi-18 hasn't been loaded. 2012-08-19 23:19:37 +09:00
Alex Shinn
2c6bc7af42 adding friendly error message when using renamed (chibi strings) 2012-08-15 21:34:41 +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
f60617815d Resetting history ring on empty input in repl. 2012-07-26 22:47:43 +09:00
Alex Shinn
f0dd9c9ddb patch for clean NetBSD and OpenBSD builds from v krishnakumar 2012-07-26 09:55:00 +09:00
Alex Shinn
b682d77971 fixing string-trim resulting in empty string 2012-07-23 05:54:33 +09:00
Alex Shinn
3ee50bd0d7 length now requires a proper list.
It still accepts cyclic lists and returns #f, like SRFI-1 length+.
It's convenient to be able to accept improper lists (e.g. for
parameter lists), so the old behavior is available as length*.
Fixes issue #97.
2012-07-21 19:22:56 +09:00
Alex Shinn
dccc398621 adding an extra newline when interrupting from the repl 2012-07-21 17:32:03 +09:00
Alex Shinn
73e02601e4 changing sexp_call_sigaction to avoid casts 2012-07-21 17:27:09 +09:00
Alex Shinn
71afd5d56a Acknowledging that I may never be free of the \r evil... 2012-07-16 23:40:58 +09:00
Alex Shinn
89dfe9ab35 Patch from Alan Watson for nicer handling of multiple value results
in the repl, and also evaling multiple sexps on the same input line.
2012-07-16 17:46:13 +09:00
Alex Shinn
582a3295d4 returning #<eof> for end of input on read-u8 2012-07-16 17:37:47 +09:00
Alex Shinn
2af9643115 fixing missing newline for final row of formatted list output 2012-07-10 20:49:37 +09:00
Alex Shinn
0c832129df allowing configurable prompts (patch from Alan Watson) 2012-07-10 20:45:13 +09:00
Alex Shinn
3e79138e21 Various fixes for better debug output.
* Associate file/line source info with corresponding bytecode offset.
  * Fixes for losing source info after macro expansion and simplification.
  * Fix for showing the source info of the calling procedure of an error.
2012-07-07 15:26:08 +09:00
Alex Shinn
a7e899ce8d (chibi test) now uses only R7RS plus srfi-1 2012-06-25 22:07:27 -07:00
Alex Shinn
1809aad33b (exit #t) exits successfully 2012-06-25 21:46:07 -07:00
Alex Shinn
ef4372a2cd fix for iset-prune! to return an empty iset instead of #f 2012-06-24 23:20:00 -07:00
Alex Shinn
100e5b7d1e using condensed test output by default unless TEST_VERBOSE=1 is set 2012-06-24 23:12:40 -07:00
Alex Shinn
5013c0fdcb moving pair-source and pair-source-set! into the core 2012-06-24 14:36:45 -07:00
Alex Shinn
bad54b143c printing debug output on OOM 2012-06-24 14:07:59 -07:00
Alex Shinn
fa7a567458 Making string-fold/for-each/map n-ary. 2012-06-23 22:30:35 -07:00
Alex Shinn
8fe6b8f7bd (chibi strings) functions taking predicates now accept char-sets as well. 2012-06-21 23:08:24 -07:00
Alex Shinn
08e4fead8b small fixes and warning removals for build tests 2012-06-20 21:39:52 -07:00
Alex Shinn
05d416e17f The argument to exit is optional, and is treated as 1 for any non-integer
("error" for any non-string on plan9).  The idiom (exit #f) can be used
to indicate an arbitrary error.
2012-06-19 23:09:29 -07:00