Commit graph

31 commits

Author SHA1 Message Date
Alex Shinn
9c77070888 fixing srfi-27 support for systems with posix rand_r but not random_r 2009-12-18 14:43:28 +09:00
Alex Shinn
c6b0c2319c adding srfi-27 2009-12-16 17:43:56 +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
f1263dcc19 adding trailing newline 2009-12-14 13:57:40 +09:00
Alex Shinn
99d8c585f9 adding srfi-33 support (needs testing) 2009-12-14 13:46:04 +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
574b1daa32 using include-shared for shared object files for portability 2009-11-28 17:27:01 +09:00
Alex Shinn
025aae80d6 adding tree search patterns to (chibi match) 2009-11-25 22:46:38 +09:00
Alex Shinn
cca25351fe adding srfi-98 2009-11-23 02:42:03 +09:00
Alex Shinn
671b983214 adding (chibi match) module 2009-11-23 02:07:05 +09:00
Alex Shinn
8481f543a9 cleanup, making infinities optional, fixing build for plan9 2009-11-23 01:54:22 +09:00
Alex Shinn
3ecea4d666 adding define_foreign_opt to bind C functions with optional parameters
moving several opcodes to normal FFI functions, considering
doing the same for all I/O opcodes.
2009-11-16 04:04:23 +09:00
Alex Shinn
0581b41b1e adding hash-tables and a more friendly FFI 2009-11-16 00:52:16 +09:00
Alex Shinn
edd08d6740 adding srfi-9 based on native types 2009-11-11 01:27:20 +09:00
Alex Shinn
eafd40c193 adding some handy syntax modules 2009-11-03 01:44:36 +09:00
Alex Shinn
62c390d68e initial module system 2009-10-13 18:29:18 +09:00