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
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
f67f63d570
fixing number->string for numbers within an ulp of round numbers
2018-04-01 21:01:58 +09:00
Kris Katterjohn
5e80cb2c2b
In my last commit, make the feature variable a gc variable
2018-03-31 20:23:00 -05:00
Kris Katterjohn
dc80bf4f04
Avoid placing duplicate feature identifiers in the (features) list
...
In my case "bsd" was present twice on my *BSD boxes
2018-03-31 14:19:18 -05:00
okuoku
960c962798
Win32: Include <io.h> on sexp.c
...
Use POSIX-like functions(open, read and write) from its
compatibility library.
2017-12-13 17:20:53 +09:00
okuoku
7693881125
sexp.c: Use strncasecmp instead of strcasestr
...
strcasestr is not available on MS C runtime. Use strncasecmp instead
which is in POSIX. MS C runtime has _strnicmp().
2017-11-18 15:24:28 +09:00
okuoku
e092923aac
Win32: Fix win32 port
...
Try to fix win32 port. Now it runs both on Win32/Win64.
Win64 port currently depends on 128bits arithmetic thus it does not run on
MSVC.
Makefile now have EXCLUDE_POSIX_LIBS knob to exclude posix related library
from build.
Introduce msys PLATFORM for Makefile.detect to use MSYS's POSIX
emulation layer. It is intended for linking against MSYS tools; it is
not for embedding to Win32 applications.
2017-11-11 04:31:06 +09:00
Alex Shinn
e4eadba355
sprintf precision ranges from 15 to 17
2017-10-22 22:24:15 +09:00
Alex Shinn
b4b6d508d1
don't try to read polar notation when math is disabled
2017-09-01 16:56:55 +09:00
Alex Shinn
b1307a67f5
use fabsl instead of abs on long double
2017-08-29 22:50:52 +09:00
Alex Shinn
d9a40fbc61
conditionally using 17 digits of precision in flonum output when needed
2017-08-26 21:35:43 +09:00
Alex Shinn
b61c1b7077
better round-off reading floating point numbers with large exponents
2017-08-21 23:01:39 +09:00
Alex Shinn
8470534c39
using 16 decimal places of precision in number->string (issue #433 )
2017-08-20 15:00:24 +09:00
Alex Shinn
f2f6aadb3d
fixing sexp_port_size after buffered read on non-custom ports
2017-06-29 14:17:34 +09:00
Alex Shinn
da410523b0
fixing peek-char on non-ascii chars
2017-06-26 22:23:38 +09:00
Alex Shinn
0fa1179c2f
add -T option to disable TCO
2017-01-14 16:51:07 +09:00
Alex Shinn
82ebd3cbc3
remove unused vars, restore endianess feature
2016-06-12 22:58:35 +09:00
Alex Shinn
08494037ea
making features a context global
2016-06-12 14:25:46 +09:00
Alex Shinn
8ac14b5f91
Fixing printing of x-0.0i (issue #352 ).
2016-06-06 22:18:47 +09:00
Alex Shinn
d975aac7ed
Hashes in symbol names need to be escaped with |...|.
...
Fixes issue #348 .
2016-06-05 22:34:39 +09:00
Alex Shinn
fdab1188c1
The #!fold-case directive is always case-insensitive.
...
Fixes issue #349 .
2016-06-05 22:29:52 +09:00
Alex Shinn
60448d1d3b
"\xNN;" inline hex escapes should also support uppercase \X.
...
Fixes issue #347 .
2016-06-04 22:19:43 +09:00
Alex Shinn
0a0db861ed
Fixing intraline whitespace parsing followed immediately by another escape.
...
Fixes issue #343 .
2016-06-04 22:06:35 +09:00
Alex Shinn
c7b9cb0879
Fix #x#i... numeric parsing (fixes issue #332 ).
2016-05-15 20:27:36 +09:00
Alex Shinn
5ab99635c5
Corner cases in complex infinities. Fixes issue #331 .
2016-05-11 23:19:22 +09:00
Alex Shinn
2a05db5382
Zero angle polars are real. Fixes issue #329 .
2016-05-04 21:31:55 +09:00
Alex Shinn
0c80f38a19
making string-cursors a disjoint type
2016-03-29 22:25:09 +09:00
Alex Shinn
fec1016254
Fix for additional edge cases in escaping symbols on output.
2016-03-19 15:01:05 +09:00
Alex Shinn
55257b75e3
Write should pipe-escape symbols beginning with a number.
...
Fixes issue #316 .
2016-03-14 09:09:00 +09:00
Alex Shinn
22bfa48698
fix escaping |.| on write, and funny symbols in srfi 38 in general
2016-03-13 09:33:24 +09:00
Alex Shinn
fb24b831b8
fix reading circular refs inside vectors
2016-03-04 23:41:16 +09:00
Chris Walsh
2005c19ea0
Added full support for packed images, both for static and dynamic libraries.
2016-02-15 21:12:58 -05:00
Alex Shinn
83c5792673
handle #x+0 (fixes issue #309 )
2016-02-05 01:30:32 +09:00
Alex Shinn
8a739d2698
handle [+-].[^0-9] symbols (fixes issue #307 )
2016-02-04 23:30:39 +09:00
Alex Shinn
3e9092cfcc
Raise an error on direct reader label self-references like #1=#1#.
...
Fixes issue #303 .
2016-02-01 21:39:48 +09:00
Alex Shinn
5a7094e2ef
fix typo not handling uppercase I in some complex numbers
2015-09-21 15:23:51 +09:00
Alex Shinn
3e8872dc48
partial writes are successful
2015-07-29 22:38:25 +09:00
Alex Shinn
1956e38ba0
adding set-syn type
2015-07-29 22:35:15 +09:00
Alex Shinn
b9b222b2b3
shorter printed names for ast types
2015-07-11 21:15:12 +09:00
Alex Shinn
fe75dbfff5
fixing brace literals for primitive objects containing non-trailing raw nulls
2015-07-11 21:07:17 +09:00
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
bc262aa7ad
adding support for reader labels in core reader
2015-07-06 23:18:33 +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
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
2ecbe98aaf
fixing build for non-timed gc
2015-06-27 22:41:23 +09:00
Alex Shinn
3fe810c86a
Fixing weak references.
2015-06-20 23:03:44 +09:00