diff options
Diffstat (limited to 'com/simatime/repl.scm')
-rw-r--r-- | com/simatime/repl.scm | 27 |
1 files changed, 8 insertions, 19 deletions
diff --git a/com/simatime/repl.scm b/com/simatime/repl.scm index 3d2f6d9..bae7e8f 100644 --- a/com/simatime/repl.scm +++ b/com/simatime/repl.scm @@ -1,23 +1,5 @@ (define-module (com simatime repl) - #:use-module ((ice-9 ftw) #:prefix ftw:) - #:export (pr prn pwd ls cd)) - - -;; -;; shell-like stuff -;; -(use-modules ((ice-9 ftw) #:prefix ftw:)) - -(define (pwd) - (regexp-substitute/global - #f "/home/ben" (getcwd) 'pre "~" 'post)) - -(define (ls) - (ftw:scandir (getcwd))) - -(define (cd path) - (chdir path) - (ls)) + #:export ()) ;; @@ -32,3 +14,10 @@ ;; (getenv "USER") ;; (vector-ref (uname) 1) ;; (pwd)))) + +;; TODO(bsima): (doc x) +;; TODO(bsima): (src x) +;; TODO(bsima): ,src command +;; TODO(bsima): ,shell command +;; TODO(bsima): how to load this file on startup? +;; for ,src and ,shell https://github.com/NalaGinrut/nala-repl |