A minimalist continuation-based Scheme written in C.
Go to file
Jesse D. McDonald 704c473015 Add a new syntax macro, compose-if.
The macro resembles (or x (fn x)) except:
1) The value is only evaluated once, and
2) Multiple (single-argument) functions can be chained.

If the original value or the result of any function is #f, the
final value is #f. Otherwise the result is ((compose ,@fns) x).
Short-circuit evaluation is employed.
2012-07-14 13:47:49 -05:00
doc Implement simple self-hosting compiler (src/compiler.rls). 2012-07-14 13:47:39 -05:00
libcompiler For vectors, spaces come before 2nd-Nth values; #(1 2 3) vs. #(12 3 ). 2012-07-14 13:47:44 -05:00
mods Implement simple self-hosting compiler (src/compiler.rls). 2012-07-14 13:47:39 -05:00
src Add a new syntax macro, compose-if. 2012-07-14 13:47:49 -05:00
.hgignore Ignore dependency (*.d) files. 2012-07-14 13:42:51 -05:00
COPYING Add a formal public-domain dedication so that others can use this. 2012-07-14 13:40:14 -05:00
Makefile Extend reader with placeholders for immutable values and structures. 2012-07-14 13:47:15 -05:00
builtin.c Implement simple self-hosting compiler (src/compiler.rls). 2012-07-14 13:47:39 -05:00
builtin.h Implement simple self-hosting compiler (src/compiler.rls). 2012-07-14 13:47:39 -05:00
compiler.scm Remove profiling code, which doesn't appear to work anyway. 2012-07-14 13:47:38 -05:00
gc.c Improve calculation of hash values. 2012-07-14 13:47:48 -05:00
gc.h Implement simple self-hosting compiler (src/compiler.rls). 2012-07-14 13:47:39 -05:00
interp.c byte-string-ref should return unsigned fixnums (0 <= x <= 255). 2012-07-14 13:47:46 -05:00
interp.h Implement simple self-hosting compiler (src/compiler.rls). 2012-07-14 13:47:39 -05:00
reader.c Implement simple self-hosting compiler (src/compiler.rls). 2012-07-14 13:47:39 -05:00
reader.h Extend reader with placeholders for immutable values and structures. 2012-07-14 13:47:15 -05:00
rosella.c Implement simple self-hosting compiler (src/compiler.rls). 2012-07-14 13:47:39 -05:00
run-tests.sh Commit simple script to run regression tests: src/examples/test-*.rla. 2012-07-14 13:43:38 -05:00