-
Notifications
You must be signed in to change notification settings - Fork 3
/
regiment.larceny
executable file
·27 lines (14 loc) · 1.01 KB
/
regiment.larceny
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
source `dirname $0`/assert_regimentd
CURDIR=`pwd`
# This method doesn't set the library path, instead it just switches to that directory:
#(cd $REGIMENTD/src; larceny -r6rs -path . -program $REGIMENTD/src/regiment.ss -- DUMMY $CURDIR $*;)
# [2008.08.24] Now we don't need the extra argument:
(cd $REGIMENTD/src; larceny -r6rs -path . -program $REGIMENTD/src/regiment.ss -- $CURDIR $*;)
#(cd $REGIMENTD/src; larceny -r6rs -path . -program $REGIMENTD/src/test.ss -- DUMMY $CURDIR $*;)
#(dump-heap "larc.heap" (lambda args (printf "Woot, loaded from heap.") (exit)))
#(dump-interactive-heap "larc.heap")
#(import (rnrs r5rs (6)) (rnrs mutable-pairs (6)) (rnrs mutable-strings (6)) (main_r6rs) (main) (primitives dump-interactive-heap current-require-path)) (dump-interactive-heap "larc.heap")
#(dump-heap "larc.heap" (lambda args (printf "Woot, loaded from heap.") (apply main (cddr (command-line)))))
#(dump-interactive-heap "larc.heap")
#(import (rnrs) (primitives dump-interactive-heap current-require-path))