Commit graph

3123 commits

Author SHA1 Message Date
Edwin Watkeys
7635cefe4f Merge branch 'master' of https://github.com/ashinn/chibi-scheme 2018-12-14 15:20:48 +01:00
Alex Shinn
90ed977202 Merge branch 'master' of github.com:ashinn/chibi-scheme 2018-12-11 22:54:18 +08:00
Alex Shinn
e0f23d4286
Merge pull request #504 from edw/args
Fix invocation of main caused by fix for #484
2018-12-11 22:54:00 +08:00
Alex Shinn
7b428d2a54
Merge pull request #503 from edw/parse->list
Parse->list calls parse->fold with incorrect argument order
2018-12-11 22:44:59 +08:00
Edwin Watkeys
2be201a2c1 Merge branch 'parse->list' of https://github.com/edw/chibi-scheme 2018-12-11 14:15:56 +01:00
Edwin Watkeys
6c9e5d3c54 fix invocation of main 2018-12-11 14:08:45 +01:00
Edwin Watkeys
c912f1e24f fix order of arguments to parse-fold 2018-12-11 12:46:42 +01:00
Alex Shinn
960c39c4bf ignore generated file with derived char-sets 2018-12-11 00:28:27 +08:00
Alex Shinn
670cd82488 ignore generated file with derived char-sets 2018-12-10 23:58:33 +08:00
Alex Shinn
06c27d81ce command-line shouldn't include interpreter name (fixes issue #484) 2018-12-10 23:44:39 +08:00
Alex Shinn
f0a8930ab4
Merge pull request #502 from mnieper/with-ellipsis
with-ellipsis
2018-12-10 22:10:42 +08:00
Marc Nieper-Wißkirchen
d2fbd59ae5 Export ellipsis-identifier? 2018-12-09 19:06:24 +01:00
Marc Nieper-Wißkirchen
5d978dd37b Implement with-ellipsis 2018-12-09 19:05:22 +01:00
Alex Shinn
2c37dfedd3
Merge pull request #500 from mnieper/syntax-case
Implement syntax-case
2018-12-09 04:08:31 +08:00
Alex Shinn
77a6ca8ea7 supporting ber encoding in bytevectors 2018-12-09 03:44:19 +08:00
Alex Shinn
3aae0e8481 supporting non-native endianness and non-finite floating values 2018-12-06 23:25:18 +08:00
Alex Shinn
9af77c9b4f adding CHIBI_IGNORE_SYSTEM_PATH=1 env var (fixes issue #501) 2018-12-06 00:54:21 +08:00
Marc Nieper-Wisskirchen
5c963df96f Move datum->syntax back to init-7.scm. Don't crash when renamer not present in syntactic closure. 2018-12-05 15:59:39 +01:00
Marc Nieper-Wißkirchen
081a2a7b3f Construct constructor/predicate names in the syntactic context of the record name, not the context of the invokation of define-record-type 2018-12-05 12:15:17 +01:00
Alex Shinn
d513bdc977 adding floating point utils for bytevectors 2018-12-04 00:43:08 +08:00
Alex Shinn
11ccfcb5de support exact scaling of bignum literals via moderate sized exponents 2018-12-03 23:05:00 +08:00
Alex Shinn
13311e78c5 Merge branch 'master' of github.com:ashinn/chibi-scheme 2018-12-02 12:23:17 +08:00
Alex Shinn
521e23e3c7 Reduce error in sexp_read_float_tail (from Taylor R Campbell)
scale*10 is computed exactly until scale exceeds 2^54/10; in
contrast, scale*0.1 may not be computed exactly, and fl(0.1) is not
even 0.1.

WARNING: This change is not complete -- it does nothing to prevent
overflow with very long strings of digits after the decimal point.
2018-12-02 12:22:14 +08:00
Marc Nieper-Wisskirchen
152b20f244 Implement syntax-case 2018-12-01 13:48:25 +01:00
Alex Shinn
3c4d839c71
Merge pull request #498 from amirouche/emsdk-update
Emsdk update
2018-11-27 23:12:09 +08:00
Alex Shinn
5bbef040c5 BSD portability fixes from Taylor Campbell 2018-11-27 23:01:23 +08:00
Amirouche
80dea6ce19 Makefile: export 'cwrap' and 'ccall' from emscripten 2018-11-25 19:12:05 +01:00
Amirouche
13dacf870a js/exported_functions.json: make it proper json 2018-11-25 19:10:35 +01:00
Alex Shinn
b5331233cb adding missing status response in http-send-directory (thanks to Martin Hayman) 2018-11-19 22:06:43 +08:00
Alex Shinn
7435174d3b
Merge pull request #493 from mnieper/master
Make write/display output bytevectors with hex constants (issue #483)
2018-11-08 23:24:52 +08:00
Marc Nieper-Wisskirchen
5519679dcd Display zeros in bytevectors as '0' 2018-11-08 16:16:07 +01:00
Marc Nieper-Wisskirchen
f9be5c8d46 Make write/display output bytevectors with hex constants (issue #483) 2018-11-06 14:22:38 +01:00
Alex Shinn
3f9dfb7837 fixing call to call-with-temp-file for HEAD requests 2018-11-06 15:09:18 +08:00
Alex Shinn
59e5584ab2
Merge pull request #492 from edw/repl-history
add history support as $0...9
2018-11-04 23:10:47 +08:00
Edwin Watkeys
cbe1b045b4 add history documentation 2018-10-31 14:51:49 -04:00
Edwin Watkeys
5bcd37477f add history support as $0...9 2018-10-31 13:12:30 -04:00
Alex Shinn
78c757af4b
Merge pull request #487 from vaartis/gc-heap-extern-c
Add C++ extern "C" to gc_heap.h
2018-10-05 02:43:08 +08:00
Ekaterina Vaartis
5f161d03ce Add C++ extern "C" to gc_heap.h 2018-10-04 10:49:30 +03:00
Alex Shinn
a7584ae647 allow zero-or-more (*) combining characters in the 'grapheme SRE rather than one-or-more (+) 2018-09-18 23:21:27 +08:00
Alex Shinn
7830ca1654 Merge branch 'master' of https://github.com/ashinn/chibi-scheme 2018-08-24 10:27:39 +08:00
Alex Shinn
9c0d8d0a86 adding docs for sexp_env_import 2018-08-24 10:27:06 +08:00
Alex Shinn
96de49efb8
Merge pull request #481 from katterjohn/master
Avoid undefined C macro behavior
2018-07-30 10:37:53 +08:00
Kris Katterjohn
f32def466b Avoid undefined C macro behavior
A C macro expanding to a `defined' has undefined behavior.  The
clang compiler was issuing warnings.
2018-07-29 19:58:37 -05:00
Alex Shinn
bce1e6a4d2 adding define-c-strerror 2018-07-23 23:59:52 +08:00
Alex Shinn
17102697e9 no need to zero out calloc result in ffi 2018-07-16 23:33:00 +08:00
Alex Shinn
b52df76e8a
Merge pull request #480 from Hamayama/synrule
Fix syntax-rules on ellipsis escape templates
2018-07-08 22:25:04 +08:00
Hamayama
216d6a8d87 Revert and fix syntax-rules by reflecting review 2018-07-05 00:53:17 +09:00
Hamayama
fdc1f86f09 Fix syntax-rules on ellipsis escape templates 2018-07-03 12:41:00 +09:00
Alex Shinn
0efa071672 use PRId64/32 where available for printing fixnums (issue #479) 2018-06-29 22:44:16 +08:00
Alex Shinn
f5a228ee9e fixing bug in flushed output on custom ports 2018-06-23 19:21:38 +08:00