Commit graph

2458 commits

Author SHA1 Message Date
Alex Shinn
9959f90b7a fixing reader labels in core reader for non-trivial cycles
Cycles like #0=(a #1=(#0#) #1#) with an inner cycle looping back to
an outer cycle would cause infinite loops.  We fix these by marking
objects as we patch reader labels, then clearing the marks.
2015-07-11 21:06:28 +09:00
Alex Shinn
76d088d260 adding simple example http server to docs 2015-07-06 23:33:00 +09:00
Alex Shinn
2ee9b3098d servlet uri query parsing should handle + as space 2015-07-06 23:26:00 +09:00
Alex Shinn
bc262aa7ad adding support for reader labels in core reader 2015-07-06 23:18:33 +09:00
Alex Shinn
9b4cadd33f don't bother evaluating literals in (chibi repl) 2015-07-06 20:46:42 +09:00
Alex Shinn
1a2b71688d error instead of segfault for invalid/forged brace literals 2015-07-05 23:15:45 +09:00
Alex Shinn
42c14af4b9 removing support for SEXP_USE_STRING_STREAMS 2015-07-04 23:25:40 +09:00
Alex Shinn
94067a1ffe replacing quick sort in SRFI 95 with a stable merge sort 2015-07-04 23:18:01 +09:00
Alex Shinn
b93aa9cad9 when extracting optional parameter names, offset cadr by 1 2015-07-04 23:17:15 +09:00
Alex Shinn
2a203e9ff5 Replace use of malloc in string ports with a heap-allocated bytevector.
Without this, if SEXP_USE_FINALIZERS=0, constructing output string ports
without closing them would leak memory.  SEXP_USE_FINALIZERS=0 still
requires caution when working with file-backed ports.
2015-07-04 16:54:25 +09:00
Alex Shinn
841bf95509 supporting email stripping for multiple authors 2015-07-01 07:41:47 +09:00
Alex Shinn
0c856a1bba fixing debug_gc build 2015-06-28 16:37:30 +09:00
Alex Shinn
2ecbe98aaf fixing build for non-timed gc 2015-06-27 22:41:23 +09:00
Alex Shinn
f256fc219e optimizing type lookup in sexp_mark 2015-06-27 20:54:30 +09:00
Alex Shinn
49505b4849 adding count to gc timer 2015-06-27 20:43:43 +09:00
Alex Shinn
8b46509ab5 Merge pull request #272 from mnieper/emscripten
Integrate emscripten build process in Makefile
2015-06-24 07:53:49 +09:00
Marc Nieper-Wißkirchen
899a15b725 Integrate emscripten build process in Makefile
Move Emscripten dependencies into separate directory
2015-06-23 19:57:07 +02:00
Alex Shinn
2e4d0aed91 Handling non-pointer struct return types in the ffi. We do a flat memcopy
of the struct to heap.  Only the base case is supported - combining with
multiple values or returning fixed-size arrays of structs won't work.
Fixes issue #270.
2015-06-22 23:01:44 +09:00
Alex Shinn
64f3be9c99 use blocking io by default in snow 2015-06-22 20:51:20 +09:00
Alex Shinn
fdc2558a76 Don't load all of (scheme small) for scripts. 2015-06-21 23:39:18 +09:00
Alex Shinn
854f2f09ed Adding command-line option tests. 2015-06-21 23:14:38 +09:00
Alex Shinn
74cc4372be Fixing -x combined with -m. 2015-06-21 22:47:21 +09:00
Alex Shinn
ad2b9efcdc Allow normal module names for -m, -x, -R, -t. 2015-06-21 15:38:31 +09:00
Alex Shinn
3fe810c86a Fixing weak references. 2015-06-20 23:03:44 +09:00
Alex Shinn
0ceb3726c1 sexp_object_compare should sort different numeric types together.
Fixes issue #271.
2015-06-20 22:40:04 +09:00
Alex Shinn
4ab97dd9bd adding experimental --use-curl option 2015-06-19 00:02:05 +09:00
Alex Shinn
7e634f3b66 procedure-signature should strip synclos from parameters 2015-06-18 23:33:01 +09:00
Alex Shinn
8cf38672cf identifier->symbol should handle nested syntactic closures 2015-06-18 23:32:21 +09:00
Alex Shinn
402828c8e9 adding Steele's three-part test and including numeric tests in test-libs 2015-06-16 22:33:33 +09:00
Alex Shinn
c9a856b8f6 fix path adjustment of inline test files in snow-chibi package command 2015-06-15 23:39:38 +09:00
Alex Shinn
4fc7181c2c Fix in sexp_bignum_quot_rem when the numerator and divisor are equal.
Fixes issue #269.
2015-06-15 23:31:46 +09:00
Alex Shinn
dfc5ca6913 fixing free chunk calculation and counting more sizes 2015-06-15 21:53:34 +09:00
Alex Shinn
c33df79004 adding free-sizes complement to heap-sizes 2015-06-15 21:34:25 +09:00
Alex Shinn
f5326fafc3 adding heap-sizes to check distribution of chunk sizes in heap 2015-06-15 21:04:25 +09:00
Alex Shinn
bd42ffaecd with fixed sized chunk heaps, grow a new heap for the chunk size when applicable 2015-06-14 23:18:36 +09:00
Alex Shinn
950312f13b adding optional tracking of gc time 2015-06-14 23:03:19 +09:00
Alex Shinn
b4c7a7081d Don't bother resetting weak references if none have been allocated. 2015-06-14 16:58:48 +09:00
Alex Shinn
d1c71adb40 Reporting time spec in GC when SEXP_USE_DEBUG_GC > 0. 2015-06-14 16:35:54 +09:00
Alex Shinn
6db194171e Adding option to disable automatic running of finalizers altogether. 2015-06-14 16:19:55 +09:00
Alex Shinn
4527c772c5 (chibi weak) library is a noop when not compiling with weak references. 2015-06-14 15:27:21 +09:00
Alex Shinn
19df6e7578 strip leading parents in package test 2015-06-13 22:06:12 +09:00
Alex Shinn
eab76ce8c1 Fixing #; comments as the last element in a list for (scheme read). 2015-06-13 21:57:31 +09:00
Alex Shinn
a05b94f3c2 fixing bug in extract-program-dependencies 2015-06-13 20:59:01 +09:00
Alex Shinn
ef1ae88b7a Fixing bug in let-optionals option parsing. 2015-06-11 22:52:50 +09:00
Alex Shinn
aeb881412c Fixing regexp-replace substring index error on non-ascii inputs. 2015-06-09 23:19:58 +09:00
Alex Shinn
c52873e8b9 Prefer SRFI 33 over SRFI 60, preventing import cycles when a user has
a SRFI 60 installed which imports (scheme base).  This can still break
in theory if a user installs a third-party SRFI 33 in the search path
in front of the Chibi SRFI 33, but we can't always be safe against
such behavior.
Fixes issue #267.
2015-06-09 00:14:03 +09:00
Alex Shinn
4a19a5161a Removing plain text README since we have README.md. 2015-06-09 00:01:30 +09:00
Alex Shinn
35279b45c3 adding tests for first..tenth 2015-06-08 23:59:55 +09:00
Alex Shinn
a31da07a25 Merge pull request #265 from frerejerome/patch-1
Correction to the 8-10th selector aliases in SRFI-1
2015-06-08 23:55:29 +09:00
Frère Jérôme
749d58eeb4 Shortened logo URI & added Emscripten link 2015-06-07 12:06:33 +02:00