Commit graph

3206 commits

Author SHA1 Message Date
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
Alex Shinn
f16e889e04
Merge pull request #478 from okuoku/win32-cmake
Activate Win64 platform with MSVC
2018-06-21 22:36:56 +08:00
okuoku
961131d5e1 doc: Update README-win32.md to reflect recent changes 2018-06-20 21:22:36 +09:00
okuoku
dcf23aaa02 AppVeyor: Add MSVC x64 configuration to CI 2018-06-20 21:22:36 +09:00
okuoku
432b763555 cmake: Use SEXP_64BIT on Win64
Do not override SEXP_64BIT on Win64 as now we have custom-long-long for
it.
2018-06-20 21:16:40 +09:00
Alex Shinn
f9bd4f9c0e
Merge pull request #477 from tramboi/expt_fix
Expt fix
2018-06-20 18:46:11 +08:00
Alex Shinn
12d7c1638e
Merge pull request #475 from tramboi/master
More portable bignums
2018-06-20 18:45:38 +08:00
Bertrand Augereau
952d7c806b More portable bignums that don't have to rely on gcc 128bit arithmetics extension
SEXP_USE_CUSTOM_LONG_LONGS currently needs SEXP_64_BIT
2018-06-19 04:46:05 +02:00
Bertrand Augereau
ce9c60c1e8 Fix (expt 3 -1) when SEXP_USE_BIGNUMS 2018-06-16 09:41:09 +02:00
Alex Shinn
5f428d1299 limit waiting in thread scheduler to 10ms 2018-06-13 22:33:39 +08:00
Alex Shinn
e8c10ce259
Merge pull request #476 from tramboi/expt_neg
(expt bignum -k) was equal to (expt bignum k)
2018-06-10 22:39:07 +08:00
Bertrand Augereau
d88dfeb172 Fix (expt bignum -k) 2018-06-10 03:21:00 +02:00
Bertrand Augereau
4d8933119f Test that (expt bignum -k) is correct 2018-06-10 03:20:35 +02:00
Alex Shinn
39043bc47c support infinite real with exact zero imaginary literals (issue #474) 2018-06-09 18:02:50 +08:00
Alex Shinn
22f87f67ab char names should obey case-(in)sensitivity (issue #471) 2018-05-12 19:43:02 +08:00
Alex Shinn
bfcab41056 add cc command line to ffi debug output 2018-05-12 07:39:26 +08:00
Alex Shinn
10ed000e1b
Merge pull request #469 from jacius/invalid_apply
Raise error if apply is called with invalid args.
2018-04-15 22:02:14 +09:00
John Croisant
42dd447a06 Raise error if apply is called with invalid args.
* If called with only the procedure, but no args list.
* If called with a final arg that is not a proper list.
2018-04-14 20:49:03 -05:00