Commit graph

54 commits

Author SHA1 Message Date
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
54f913fa2a adding basic oom tests 2011-08-19 01:43:44 +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
e79ce582ce forgot to initialize variable in sqrt 2011-08-01 09:07:22 +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
28ffc56d50 adding optional optimization for internal definitions to not box direct lambdas 2011-07-13 00:41:19 +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
7ddfc9f25a trying out tail jumps instead of using the tail-call opcode where possible 2011-07-04 02:22:18 +09:00
Alex Shinn
bacc7d9399 adding simple VM-level profiler 2011-07-03 21:00:11 +09:00
Alex Shinn
9c9271e625 sexp_load can take a NULL env 2011-06-30 09:13:32 +09:00
Alex Shinn
d7147bf67e adding reserve opcode to avoid pushing dummy values.
also adding register-optimization! primitive.
2011-06-13 20:52:42 +09:00
Alex Shinn
2961f23d1d don't bother consing up rest arguments if they're never used 2011-06-11 14:52:30 +09:00
Alex Shinn
744bde8997 adjusting for roundoff errors in expt 2011-05-30 23:22:08 +09:00
Alex Shinn
2821bafcb6 chmod 2011-05-29 18:47:00 +09:00
Alex Shinn
24cc418275 fixing build for no DL 2011-05-26 08:00:36 +09:00
Alex Shinn
31ef22a665 static libs keeps bindings separate (patch from rotty) 2011-05-25 23:59:21 +09:00
Alex Shinn
987b6d98fb fixing syntactic-closure free-variable references for wrapped expressions
(also renaming %env-copy! to %import)
2011-05-21 16:42:02 -07:00
Alex Shinn
a5f85d3685 tracking source info for macros 2011-05-16 00:48:55 -07:00
Alex Shinn
0420bba565 warning on duplicate imports 2011-04-26 22:44:11 +09:00
Alex Shinn
c5126fb2b0 adding optional strict top-level matching for syntax-rules literals 2011-04-25 23:29:30 +09:00
Alex Shinn
9b0c057343 cleaning up initialization interface, adding sexp_load_standard_ports 2011-04-07 22:48:10 +09:00
Alex Shinn
1b50d709d2 allowing NULL arg to sexp_load_standard_env, updating to SEXP_SEVEN 2011-04-06 01:27:33 +09:00
Alex Shinn
6c8ea93655 fixing order of platform/bsd feature registration 2011-04-04 23:29:34 +09:00
Alex Shinn
e41b998f66 fixing chibi.process for linux 2011-04-04 10:24:17 -04:00
Alex Shinn
c75ad29100 fixing offby1 bug in utf8 encoder 2011-04-04 10:13:31 -04: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
5cf04597c1 adding exact-integer? and exact-integer-sqrt 2011-03-21 15:47:01 +09:00
Alex Shinn
017548cc46 adding string cursors, optimizing in-string(-reverse) loops 2011-03-21 14:57:52 +09:00
Alex Shinn
645d056812 don't warn about invaild operators if there was a syntax error 2011-03-08 22:02:10 +09:00
Alex Shinn
9ea986d34c warn on syntax errors inside unbound id applications 2011-03-08 11:39:30 +00:00
Alex Shinn
205008d7ce empty applications are now a syntax error 2011-03-08 11:38:22 +00:00
Alex Shinn
91914d6739 redefining non-syntax as syntax pushes a new cell, but allows the old cell to be gced 2011-03-06 13:43:40 +09:00
Alex Shinn
a14d03b1a3 define can redefine a syntax binding 2011-03-06 13:00:00 +09:00
Alex Shinn
afc6a96d68 Adding more OOM checks (issue #59), thanks rotty. 2011-02-27 20:53:12 +09:00
Alex Shinn
2c036c7e7a adding experimental auto-force capability 2011-01-11 22:54:23 +09:00
Alex Shinn
29a96ccd8a fixing boehm build 2011-01-09 16:08:56 +09:00
Alex Shinn
23382e9540 allowing per-heap maximum size limit as a new argument to sexp_make_eval_context
can specify on the command line with -h 1M/2M (set to 0 for no limit)
2010-12-30 11:26:15 +09:00
Alex Shinn
a9678e5378 define doesn't overwrite existing imported bindings.
default repl env also imports standard env rather than using it
directly so redefining primitives doesn't affect standard macros.
2010-12-26 17:49:23 +09:00
Alex Shinn
c114357859 open-input-file creates non-blocking ports 2010-12-11 22:37:41 -08:00
Alex Shinn
2affd2c677 creating initial API for C functions to block on input ports 2010-12-11 22:15:17 -08:00
Alex Shinn
840ef090bd adding unicode tests, fixing substring & make-string 2010-12-08 22:57:13 -08:00
Alex Shinn
c4b3e128f1 making basic port operations (open-{in,out}put-file, close-port)
as well as identifier?, identifier=? and identifier->symbol available
from the C API (fixes #55).
2010-12-06 21:06:46 -08:00
Alex Shinn
2eaf4068e5 several gc bugfixes (fixes #52) 2010-12-05 16:50:57 -08:00
Alex Shinn
9802b38ccb small bug handling type checks in compile 2010-11-22 23:04:44 -08:00
Alex Shinn
7126e196d8 don't use same stack for eval 2010-11-22 22:43:17 -08:00
Alex Shinn
19dc018d35 fixing uninitialized variable bug 2010-11-22 21:58:24 -08:00
Alex Shinn
c01721e110 Replacing eval opcode with compile + normal application. 2010-11-18 21:37:46 -08:00
Alex Shinn
5ec136adcb more parameter updates
exception handling in (chibi repl) still broken
2010-09-26 01:04:55 +09:00