about summary refs log tree commit diff stats
path: root/.repl
diff options
context:
space:
mode:
Diffstat (limited to '.repl')
-rw-r--r--.repl29
1 files changed, 29 insertions, 0 deletions
diff --git a/.repl b/.repl new file mode 100644 index 0000000..8adbefe --- /dev/null +++ b/.repl
@@ -0,0 +1,29 @@
1;;; -*- scheme -*-
2
3#+chicken (import (r7rs))
4
5(import (scheme file))
6
7;;; Load libraries
8
9(let loop ((load-files '("yolk.common"
10 "yolk.colors"
11 "yolk.cursor"
12 "yolk.erase"
13 "yolk.xterm")))
14 (if (null? load-files)
15 #t
16 (let* ((this (car load-files))
17 (ss (string-append (car load-files) ".ss"))
18 (sld (string-append (car load-files) ".sld")))
19 (and (file-exists? ss)
20 (load ss))
21 ;(eval `(import ,(map string->symbol (string-split this "."))))
22 (and (file-exists? sld)
23 (load sld))
24 (loop (cdr load-files)))))
25
26;;; Set up a test environment
27
28;;; Done.
29(print "Ready.")