about summary refs log tree commit diff stats
path: root/.repl
diff options
context:
space:
mode:
Diffstat (limited to '.repl')
-rw-r--r--.repl17
1 files changed, 17 insertions, 0 deletions
diff --git a/.repl b/.repl new file mode 100644 index 0000000..7d50383 --- /dev/null +++ b/.repl
@@ -0,0 +1,17 @@
1;;; -*- scheme -*-
2
3#+chicken (import (r7rs))
4
5(let loop ((load-files '("fff.parse"
6 "fff.read")))
7 (if (null? load-files)
8 #t
9 (let ((this (car load-files)))
10 (load (string-append (car load-files) ".sld"))
11 (eval `(import ,(map string->symbol (string-split this "."))))
12 (load (string-append (car load-files) ".ss"))
13 (loop (cdr load-files)))))
14
15(define input (call-with-input-file "test.fff" read-port))
16
17(print "Ready.")