Alex Shinn
79e7f0b90d
custom type printers now take a callback writer
2011-10-31 00:00:41 +09:00
Alex Shinn
8dd61e3309
Brace object literal syntax now uses a unique type identifier in addition to the name.
...
Types can have a unique string identifier (no API for this yet), which will be used if
present, otherwise the id will be #<tag>, where tag is the fixnum type tag. On read,
#t may also be supplied, in which case the most recent type with the given name will
be used.
2011-10-30 17:34:18 +09:00
Alex Shinn
769ef4725d
adding port-fold-case?
2011-10-30 16:33:49 +09:00
Alex Shinn
b56cfbb083
revert last patch. forgot to set errno before checking for it.
2011-10-13 06:51:44 +09:00
Alex Shinn
52781e59e0
Using ferror when possible in sexp_maybe_block_port.
2011-10-12 22:54:11 +09:00
Alex Shinn
6b81fae4ec
types hold on to their finalizers
2011-10-06 23:53:27 +09:00
Alex Shinn
7ab9e88eb0
more r7rs updates
2011-10-03 20:21:39 +09:00
Alex Shinn
ea9255e934
adding #| ... |# comment support
2011-10-02 19:37:31 +09:00
Alex Shinn
4f9903db00
initial image file support
2011-09-24 17:18:35 +09:00
Alex Shinn
5085164d19
fixing some #e/#i cases with ratio support
2011-09-22 23:11:46 +09:00
Alex Shinn
5eb62cf716
adding support for #true and #false
2011-09-19 15:15:00 +09:00
Alex Shinn
e2f066044d
adding support for define-library and include-ci
2011-09-19 15:10:20 +09:00
Alex Shinn
057198c4d8
Fixing careless returns without GC release in sexp_ratio_normalize.
2011-09-06 07:50:35 +09:00
Alex Shinn
bb50ac05e4
fixing recent change for SEXP_USE_NO_FEATURES builds
2011-09-06 00:31:20 +09:00
Alex Shinn
f51d67a86b
more numeric reader tweaks
2011-09-06 00:27:30 +09:00
Alex Shinn
72591432fa
more numeric parsing fixes
2011-09-06 00:08:30 +09:00
Alex Shinn
44fa0dd2c0
Tweaks for leading chars in string->number.
2011-09-05 23:52:28 +09:00
Alex Shinn
4e60bba376
making inf/nan reading case-insensitive.
...
adding complex and ratios to definition of sexp_numberp.
2011-09-05 07:10:56 +09:00
Alex Shinn
5f7a38da19
adding read/write support for byte-vectors
2011-08-28 20:04:02 +09:00
Alex Shinn
5abb66e86d
fixing some error handling in brace syntax
2011-08-28 18:18:30 +09:00
Alex Shinn
8e3c1986c4
don't write trailing NULLs in objects
2011-08-28 17:54:54 +09:00
Alex Shinn
10359721c4
Allowing read/write of simple object types (e.g. anything defined with define-record-type)
...
using a {brace} syntax. Currently can't disambiguate different types with the same name -
need to introduce a universal id.
2011-08-28 17:49:20 +09:00
Alex Shinn
66482788ec
adding support for R6RS-style \<space><newline><space> string escapes
2011-08-19 22:51:38 +09:00
Alex Shinn
c9f279ea28
checking for OOM in sexp_read_symbol
2011-08-19 01:46:16 +09:00
Alex Shinn
54f913fa2a
adding basic oom tests
2011-08-19 01:43:44 +09:00
Alex Shinn
cdd83b20cf
R7RS string escapes support and OOM checks
2011-08-19 01:06:26 +09:00
Alex Shinn
f5e07050ef
initial complex number support
2011-07-31 21:39:31 +09:00
Alex Shinn
6202f9c1ff
initial exact ratio support
2011-07-31 17:34:52 +09:00
Alex Shinn
2821bafcb6
chmod
2011-05-29 18:47:00 +09:00
Alex Shinn
3d939c7e87
fixing immediate flonums build
2011-05-26 08:13:12 +09:00
Alex Shinn
06b122b33c
removing global types
2011-05-25 09:45:13 +09:00
Alex Shinn
07c5c7a6f8
fixing TYPE_DEFS=0
2011-05-25 09:34:48 +09:00
Alex Shinn
47add027d6
fixing SEXP_USE_GLOBAL_TYPES (may remove this soon though)
2011-05-25 09:24:32 +09:00
Alex Shinn
cf2adc79f5
adding #![no-]fold-case syntax
2011-05-23 04:49:35 -07:00
Alex Shinn
78f0e9bd22
conditionally toggling isalpha/isxdigit between function or macro depending on platform
...
needed for plan9 where the function definitions are not provided
2011-05-19 23:32:23 -07:00
Alex Shinn
505bd8d7e9
fixing line-number info for multi-line strings
2011-05-16 22:40:32 -07:00
Alex Shinn
a5f85d3685
tracking source info for macros
2011-05-16 00:48:55 -07:00
Alex Shinn
c5126fb2b0
adding optional strict top-level matching for syntax-rules literals
2011-04-25 23:29:30 +09:00
Alex Shinn
d94baacd9a
improving "missing trailing )" message to include starting line
2011-04-05 23:46:31 +09:00
Alex Shinn
ac0d0bb300
using appropriate max bound on equal? for all platforms
2011-04-04 12:26:30 +00:00
Alex Shinn
70a5e46727
typo in assertion
2011-04-04 05:37:31 +00:00
Alex Shinn
a85cc23f31
removing accidentally committed debug code
2011-04-03 22:25:48 +09:00
Alex Shinn
0f9a23f94f
-e/-p options in main had a long-standing stupid gc bug
2011-04-03 22:15:48 +09:00
Alex Shinn
89f5d9ea65
adding equal?/bounded and an optimized equiv? which uses it
2011-03-21 00:46:08 +09:00
Alex Shinn
1edfa35ad8
Supporting # approximate digit values.
2011-03-20 19:43:14 +09:00
Alex Shinn
f92f423297
length primitive now implements srfi-1 length+
2011-03-10 00:40:38 +09:00
Alex Shinn
e6ba6e59a5
Adding support for case-folding.
2011-03-03 00:31:32 +09:00
Alex Shinn
afc6a96d68
Adding more OOM checks (issue #59 ), thanks rotty.
2011-02-27 20:53:12 +09:00
Alex Shinn
ece6500f99
fixing bug #61 in string ports > 1024 chars (thanks tizoc)
2011-02-27 18:00:46 +09:00
Alex Shinn
0fcba1ad3d
check for a valid stream before trying to access the fileno
2011-02-20 13:32:55 +09:00