Commit graph

17 commits

Author SHA1 Message Date
Alex Shinn
b3ad71cb90 Updating test targets. "make test" now runs the R7RS test suite.
"make test-all" runs R7RS + libs + FFI.  "make test-dist" also
runs memory and build tests.
2013-06-17 22:07:20 +09:00
Alex Shinn
9c56a53797 Fixing test-memory after sexp.c refactoring and improved stack traces. 2013-06-17 06:45:27 +09:00
Alex Shinn
d917dfcd72 Factoring print-module-docs and print-module-binding-docs into (chibi doc). 2013-06-04 04:49:49 +09:00
Alex Shinn
39e2e96a60 ast.so only needs GCLDFLAGS, not full LDFLAGS which breaks for cygwin 2013-03-10 23:59:07 +09:00
Alex Shinn
d7e61680fb Handling (chibi ast) the same for make clean/install/uninstall as other chibi libs.
Fixes issue #175.
2013-02-26 08:30:32 +09:00
Alex Shinn
cd0a6bd41f Don't include benchmarks in distribution. 2013-02-20 21:57:52 +09:00
Alex Shinn
7d0ab043a2 initial ffi tests 2013-02-10 16:37:18 +09:00
Alex Shinn
3bcaed82d4 Adding test-r7rs target. 2012-12-31 00:26:19 +09:00
Alex Shinn
d23feedf11 Adding initial config library. 2012-12-13 10:35:55 +09:00
Alex Shinn
c48915563b Adding gabriel benchmarks. 2012-08-26 12:23:56 +09:00
Alex Shinn
512c9032d3 Including new (scheme time *) files in installation.
Patch from Lorenzo Campedelli, fixes issue #146.
2012-08-19 23:22:48 +09:00
Alex Shinn
93ba0926a7 Build fixes for plan9. Moving individual object files out of opt/ since plan9 mkfiles have issues with these. 2012-08-16 16:04:02 +09:00
Alex Shinn
cc1821a61e (scheme char) now supports full unicode char properties and case mappings 2012-07-23 23:23:39 +09:00
Alex Shinn
ed4907e19a Install fixes for char-sets/isets from Ben Weaver. 2012-06-22 06:06:17 -07:00
Alex Shinn
a18deb68cc Optional code refactoring.
Chibi uses a lot of #if conditioned code so that configuration
management can be done entirely with the C preprocessor.

Originally this also involved conditional includes of .c files
from other source files.  The alterative, which this change
switches to, is to compile and link all files, and for uneeded
files conditionally eliminate their entire bodies so they compile
to empty object files.

Pros for conditionally including all code into one large file:

  * Don't need to declare most functions (keeps .h files small).
  * Can keep most functions static/inlined (keeps objects small).
  * Don't need to even distribute uneeded files with the default
    Makefile (e.g. can prune opt/* from dist for minimal builds).

Pros for linking multiple possibly empty files:

  * Extensions and third-party libs probably want the exported
    declarations anyway.
  * Static analysis tools work better (e.g. flymake on what previously
    was an included file).
  * Can build each file in parallel (i.e. make -j for faster builds).
  * Can build and link in just the changed files, instead of
    having to recompile the whole thing.

For Chibi these are all minor points - it will be small
regardless, and will build fast regardless - but the arguments
for splitting seem stronger.  Note the new shared lib is about
1k larger, but that can be trimmed down later.
2012-06-21 23:04:07 -07:00
Alex Shinn
c903a73921 adding ascii and full unicode char-set libraries based on isets 2012-06-17 19:36:17 +09:00
Alex Shinn
85a7efc003 automatically making sockets non-blocking on accept 2012-05-14 08:37:45 -04:00