Commit graph

27 commits

Author SHA1 Message Date
Alex Shinn
09b7b7de69 can't have a null timeval in settimeofday 2009-12-26 01:10:27 +09:00
Alex Shinn
4e5889a6f4 forgot to add signal.c used by process.stub 2009-12-25 23:32:38 +09:00
Alex Shinn
77f2990f28 factoring (chibi posix) into filesystem, process and time modules.
the time module is garbage, because libc time handling is garbage.
the signal handling is still experimental, use at your own risk.
still need a host module for user/group and other host information.
2009-12-25 21:11:56 +09:00
Alex Shinn
cb1859c683 allowing link on input parameters for use with functions like readdir 2009-12-22 22:55:46 +09:00
Alex Shinn
6da435d21c at great pains, the stubber can generate (ugly) code for getcwd 2009-12-22 22:33:53 +09:00
Alex Shinn
e93c1b1483 adding heap-dump utility for outputting the contents of the heap 2009-12-21 16:17:37 +09:00
Alex Shinn
ffdce3639b adding import-immutable to minimize heap usage 2009-12-20 16:08:19 +09:00
Alex Shinn
6fe11ffcd1 Renaming all USE_ settings and all OP_, OPC_ and CORE_ enums
to have an SEXP_ prefix.  Now all values from the headers
are prefixed with either sexp_ or SEXP_, important for ease
of embedding.  "make USE_BOEHM=1" still works as an alias
for "make SEXP_USE_BOEHM=1".

Sorry if this patch breaks your code, it had to be done
sooner or later.
2009-12-18 15:58:23 +09:00
Alex Shinn
366e0ee726 adding heap-stats module (hackers only, not built by default) 2009-12-14 14:34:46 +09:00
Alex Shinn
f4bb578d4d adding uri module from hato 2009-12-12 17:23:32 +09:00
Alex Shinn
3f2a9c9630 adding abstract pathname module
this is for use with uri's - it doesn't access the filesystem
or resolve symlinks, that functionality will be provided in
another module.
2009-12-12 17:00:57 +09:00
Alex Shinn
3d02285732 using ER let-keyword-form, removing match dependency 2009-12-12 16:58:31 +09:00
Alex Shinn
d2e094e4c1 simplifying code 2009-12-12 16:51:50 +09:00
Alex Shinn
2a424658b0 adding extra lambda accessors to ast lib 2009-12-12 16:30:06 +09:00
Alex Shinn
e5163d7e3b expanding internal defines in lambdas 2009-12-12 16:02:38 +09:00
Derick Eddington
14c99c4729 fixing identifier comparison bugs 2009-12-06 21:34:30 -08:00
Alex Shinn
f969364176 adding initial macroexpand utility
This expands an expression and gives you an sexp representation
of the resulting ast, renaming symbols when there are conflicts.
It doesn't guarantee the minimum number of renames (neither in
terms of renamed bindings nor renamed instances) but tries to be
minimal and does guarantee no renames if there are no conflicts.

This is just for debugging purposes - chibi itself directly
uses the AST without renaming or doing anything like this.
2009-12-06 23:17:37 +09:00
Alex Shinn
bb804f8062 fixing path of loop.scm 2009-12-06 17:42:16 +09:00
Alex Shinn
0efd491c24 fixing nested let-syntax hygiene, simplifying error handling
also providing better errors in some cases, and exiting with
a non-zero status on script errors
2009-12-06 17:40:50 +09:00
Alex Shinn
01f21cc905 adding initial ast module 2009-12-05 19:05:41 +09:00
Alex Shinn
5d2f5912ce adding parent links to cpointers to prevent freeing shared structures 2009-12-05 17:17:55 +09:00
Alex Shinn
6bd1bd3687 adding directory-files to posix module 2009-12-02 03:51:39 +09:00
Alex Shinn
b49153dfdf adding time_t type handling to stubber, with 2010 "chibi" epoch 2009-12-02 03:13:04 +09:00
Alex Shinn
f9e67daf43 adding initial stubber with partial posix and net modules 2009-11-30 04:07:57 +09:00
Alex Shinn
532a717ed9 using relative paths for include files 2009-11-28 17:44:47 +09:00
Alex Shinn
025aae80d6 adding tree search patterns to (chibi match) 2009-11-25 22:46:38 +09:00
Alex Shinn
671b983214 adding (chibi match) module 2009-11-23 02:07:05 +09:00