Commit graph

1045 commits

Author SHA1 Message Date
Alex Shinn
60c95d0df2 Preserving and normalizing intermediate ratios. 2011-09-06 23:40:28 +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
9380928e24 renaming sexp_make_lit AST util to avoid conflicts with core version 2011-09-06 00:29:15 +09:00
Alex Shinn
f51d67a86b more numeric reader tweaks 2011-09-06 00:27:30 +09:00
Alex Shinn
5a1981bb0c fixing = for complex numbers, which otherwise can't be ordered 2011-09-06 00:26:52 +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
f9686315d9 typo in make-rectangular 2011-09-05 23:36:52 +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
5d92523bf4 fixes from doug currie when complex support not compiled in 2011-09-03 14:58:30 +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
34638780bd don't try to compile AST types users enter directly at the repl 2011-08-28 17:58:50 +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
bb7b66b5ba don't generate a tail-jump with mis-matched param lengths 2011-08-23 01:49:11 +09:00
Alex Shinn
fad9db31ae normalize exact (/ fixnum 1) 2011-08-23 00:33:41 +09:00
Alex Shinn
df31fcd3af typo in sexp_div 2011-08-21 23:55:38 +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
32b17bf43e updating ANSI escapes in (chibi test) to use \xNN; with semi-colon suffix 2011-08-19 01:47:51 +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
ff884b7314 Need to zero out the malloced constructor results in case not all
fields are initialized.
2011-08-09 00:31:09 +09:00
Alex Shinn
3b44424140 / returns ratios when possible 2011-08-06 15:57:09 +09:00
Alex Shinn
3ff658e3a7 Forgot to use the addrinfo if supplied. 2011-08-06 15:22:17 +09:00
Alex Shinn
50ace689b4 Making the addrinfo argument to open-net-io and with-net-io default to TCP/IP. 2011-08-06 15:20:17 +09:00
Alex Shinn
ddb6f31d58 More complex number additions. 2011-08-05 00:07:04 +09:00
Alex Shinn
0ebd1216cc flushing out trig functions for complex numbers 2011-08-02 08:36:31 +09:00
Alex Shinn
293288f690 typo, should be appending to install.h 2011-08-01 10:00:26 +09:00
Alex Shinn
e79ce582ce forgot to initialize variable in sqrt 2011-08-01 09:07:22 +09:00
Alex Shinn
7a04cf809d build fixes from bakul 2011-08-01 08:31:30 +09:00
Alex Shinn
366c88bce1 fixing exact?, inexact? and numeric predicates when complex numbers are present 2011-08-01 08:20:44 +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
56e11e6264 Disabling bignum warning in qsort.c when bignums are disabled. 2011-07-24 11:03:33 +09:00
Alex Shinn
75af68ad76 fixing SRFI-18 time interface which uses timevals, not tms 2011-07-22 00:40:30 +09:00
Alex Shinn
0270f52ecb typo 2011-07-14 20:50:47 +09:00
Alex Shinn
2da11dc7f5 updating disasm for new SEXP_MAKE_PROCEDURE_OP 2011-07-13 23:02:17 +09:00
Alex Shinn
69e32af744 using direct make-procedure args instead of pushing 2011-07-13 09:12:00 +09:00
Alex Shinn
28ffc56d50 adding optional optimization for internal definitions to not box direct lambdas 2011-07-13 00:41:19 +09:00
Alex Shinn
b685bfbc35 local_ref return type is void 2011-07-05 23:51:29 +09:00
Alex Shinn
db4b6fa863 sexp_make_setter also needs to register the opcode as returning void 2011-07-05 23:50:23 +09:00
Alex Shinn
5f4ff27c3d removing redundant check 2011-07-05 22:07:49 +09:00
Alex Shinn
dee59d6ece include errno.h 2011-07-05 22:07:12 +09:00
Alex Shinn
5266d15004 off by one error in computing tail jump offset 2011-07-05 21:38:17 +09:00
Alex Shinn
54d353375c printing foreign function names on disasm 2011-07-04 23:35:25 +09:00
Alex Shinn
0de463a7c4 dropping needless drops 2011-07-04 23:07:19 +09:00
Alex Shinn
463400fc7e skipping over calls to reserve on tail jumps 2011-07-04 22:27:48 +09:00