Commit graph

45 commits

Author SHA1 Message Date
Alex Shinn
5a803b2411 Converting opcode names to symbols in ast->sexp. 2012-03-07 06:58:39 +09:00
Alex Shinn
6fa22a8cb0 Fixing procedure-code and procedure-vars definitions, which were incorrectly using slots. 2012-01-15 12:04:05 +00:00
Alex Shinn
087f2170f8 Adding call-with-process-io and other process utilities. 2012-01-11 00:06:36 +09:00
Alex Shinn
f77366f1ad Adding open(2) interface. 2012-01-11 00:03:57 +09:00
Alex Shinn
1dd61a26f3 Adding support for bi-directional ports, and making (chibi net) use them for sockets.
Also modifying FFI to automatically make input ports non-blocking,
and fixing R7RS incompatibility where closing an already closed
port signalled an error.
2012-01-05 23:39:00 +09:00
Alex Shinn
663f34000c Escaping "@" in documentation. 2012-01-04 16:02:51 +09:00
Alex Shinn
52a3f55721 Making exceptions properly thread-local. 2011-12-25 16:28:53 +09:00
Alex Shinn
24b43e367b Providing scheme versions of some I/O functions when string streams aren't used. 2011-12-17 15:55:10 +09:00
Alex Shinn
9f25895e8c FFI needs to check for FILE* backed ports when wrapping a C function that expects a FILE* and string streams are not supported.
Also fixing bug in make-custom-output-port that didn't check for exceptions.
2011-12-17 14:51:58 +09:00
Alex Shinn
72a2f237c7 removing a warning in accept.c and verifying non-thread lib tests all pass w/o threads. 2011-12-09 21:31:50 +09:00
Alex Shinn
1c60d4b5eb fixing (chibi process) build when threads are disabled. 2011-12-09 21:28:57 +09:00
Alex Shinn
aa07c6b022 Adding tab-completion on all identifiers in the current environment. 2011-12-04 20:35:41 +09:00
Alex Shinn
81567045f3 Adding environment-parent binding so we can traverse a full env hierarchy. 2011-12-04 20:35:13 +09:00
Alex Shinn
ca55194c78 Adding hook for basic tab-completion. 2011-12-04 20:32:36 +09:00
Alex Shinn
cd708b9f90 Fixing only/except/rename modified importing from (chibi repl). 2011-12-04 13:25:29 +09:00
Alex Shinn
a991cedec4 Bugfix, wasn't extracting env from the meta module. 2011-12-04 13:13:47 +09:00
Alex Shinn
e608bec866 using result length from fread; string-count optimized and safe for invalid strings. 2011-11-26 13:04:51 +09:00
Alex Shinn
4d23c1e7c5 adding basic process and system tests, with some fixes 2011-11-24 10:11:12 +09:00
Alex Shinn
e1731fabf3 FFI struct types no longer use global variables (with improved type-inference as a bonus) 2011-11-24 01:20:47 +09:00
Alex Shinn
3b116b3189 fix to use max-connections arg, and changing bind and listen to return booleans 2011-11-22 20:15:59 +09:00
Alex Shinn
f19e55cf2a adding get-socket-option and set-socket-option! 2011-11-22 09:23:37 +09:00
Alex Shinn
bb53a03fb8 accept handles non-blocking correctly 2011-11-21 20:42:49 +09:00
Alex Shinn
05d01639eb adding make-listener-socket 2011-11-20 15:41:23 -08:00
Alex Shinn
70eb98d0f8 adding port type objects 2011-11-14 15:09:37 +09:00
Alex Shinn
587273bee2 comparing with type=? 2011-11-11 22:54:20 +09:00
Alex Shinn
372a7b37b3 adding type inference from assertions 2011-11-10 22:11:12 +09:00
Alex Shinn
8e205822cb adding opcode utilities 2011-11-10 21:51:17 +09:00
Alex Shinn
16c586f053 Handling Lit values in inference. 2011-11-10 05:18:18 +09:00
Alex Shinn
11ff9603ac missed some sexp_init_library defs 2011-11-07 23:51:29 +09:00
Alex Shinn
7a5dd6351c Shared libraries are now versioned and annotated with the ABI compile-time options. 2011-11-07 23:39:38 +09:00
Alex Shinn
1b4cc2ad14 Removing uses of sexp_api_params and sexp_api_pass which were ugly and no longer supported anyway.
The definitions are still provided for backwards compatibility.
2011-11-07 01:30:55 +09:00
Alex Shinn
aa1363cb9e updating type names 2011-11-07 01:01:50 +09:00
Alex Shinn
742d96af8b adding type-num-slots 2011-11-07 01:01:26 +09:00
Alex Shinn
fe610fa47e Removing warnings in port.c, adding basic io tests. 2011-11-06 21:46:26 +09:00
Alex Shinn
b7fd7ab7f5 Removing old *meta-env* hack - `import' is now copied from (meta) and runs directly without eval.
Syntax may now also be bound with (define-syntax macro1 macro2), and likewise with let-syntax.
2011-11-06 21:09:03 +09:00
Alex Shinn
05d87f0612 @import-only updates the interaction-environment 2011-11-06 15:59:46 +09:00
Alex Shinn
731a6f6347 Adding @import and @import-only to the repl. 2011-11-06 15:52:29 +09:00
Alex Shinn
18417dfe0c BSD fixes from Bakul. 2011-11-06 15:12:39 +09:00
Alex Shinn
a39b44e58b Don't define cookie structs when not using string streams. 2011-11-06 14:46:51 +09:00
Alex Shinn
163b21a815 Adding define-c-int-type to the FFI and using it for socklen_t. 2011-11-04 22:17:26 +09:00
Alex Shinn
51b01d34a7 renaming functions conflicting with global definitions when compiling with SEXP_USE_STATIC_LIBS 2011-11-04 19:10:57 +09:00
Alex Shinn
5386fb9a16 updating old module definitions 2011-11-04 19:04:53 +09:00
Alex Shinn
15ff2e69e6 Adding (chibi trace) library. 2011-11-04 16:53:39 +09:00
Alex Shinn
395d5be5ad title-casing type names 2011-11-04 15:08:22 +09:00
Alex Shinn
4ae5949d54 fixing header alignment in disasm 2011-11-01 22:51:09 +09:00