;; cat test.scm (import scheme) (import (chicken base)) (import (chicken repl)) (import linenoise) (eval '(import something)) (set-history-length! 300) (load-history-from-file ".linenoise-history") (current-input-port (make-linenoise-port)) (repl) ;; cat something.scm (module something * (import scheme) (define (hello) (display "Hello world")) ) ;; csc -shared -J something.scm ;; csc test.scm && ./test #;> #;> (hello) Hello world#;> #;>