summaryrefslogtreecommitdiff
path: root/util.lisp
diff options
context:
space:
mode:
authormRnea <akannemre@gmail.com>2024-07-23 16:15:31 +0300
committermRnea <akannemre@gmail.com>2024-07-23 16:15:31 +0300
commit1732b9a1a137d8a7e6476e8cdfa254c01638bce3 (patch)
tree9b929ede4e356a1060f0c1cc1b154dbac73487d6 /util.lisp
parent4979a97e022d222f45209e09a8c7197820870097 (diff)
added repl
Diffstat (limited to 'util.lisp')
-rw-r--r--util.lisp3
1 files changed, 3 insertions, 0 deletions
diff --git a/util.lisp b/util.lisp
index 1ff6f9d..b97b0fa 100644
--- a/util.lisp
+++ b/util.lisp
@@ -24,6 +24,9 @@
(format t "~{~a~^ ~}~%" args)
(uiop:run-program args :output *standard-output*))
+(defun from-root (path)
+ (merge-pathnames path (asdf:system-source-directory :cl-forth)))
+
;; ,(file-namestring
;; (make-pathname :name (pathname-name path)
;; :type "o"))