deleted old 'run'
This commit is contained in:
24
util.lisp
24
util.lisp
@@ -20,12 +20,6 @@
|
|||||||
(defun mklist (form)
|
(defun mklist (form)
|
||||||
(if (listp form) form (list form)))
|
(if (listp form) form (list form)))
|
||||||
|
|
||||||
;; (defmacro run (args)
|
|
||||||
;; (let ((sym (gensym)))
|
|
||||||
;; `(let ((,sym ,args))
|
|
||||||
;; (format t "~{~a~^ ~}~%" ,sym)
|
|
||||||
;; (uiop:run-program ,sym))))
|
|
||||||
|
|
||||||
(defun run (args)
|
(defun run (args)
|
||||||
(format t "~{~a~^ ~}~%" args)
|
(format t "~{~a~^ ~}~%" args)
|
||||||
(uiop:run-program args :output *standard-output*))
|
(uiop:run-program args :output *standard-output*))
|
||||||
@@ -34,14 +28,14 @@
|
|||||||
;; (make-pathname :name (pathname-name path)
|
;; (make-pathname :name (pathname-name path)
|
||||||
;; :type "o"))
|
;; :type "o"))
|
||||||
|
|
||||||
(defparameter *test-program*
|
;; (defparameter *test-program*
|
||||||
'((push 34)
|
;; '((push 34)
|
||||||
(push 35)
|
;; (push 35)
|
||||||
(plus)
|
;; (plus)
|
||||||
(dump)
|
;; (dump)
|
||||||
(push 500)
|
;; (push 500)
|
||||||
(push 80)
|
;; (push 80)
|
||||||
(minus)
|
;; (minus)
|
||||||
(dump)))
|
;; (dump)))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user