Added COMPILE-AND-WRITE

This commit is contained in:
Shinmera 2014-09-05 12:14:57 +02:00
parent 0c86b12d79
commit 0b323c3fcd
2 changed files with 8 additions and 1 deletions

View file

@ -63,3 +63,9 @@ Returns OUT"
collect read)))
:stream outstream :pretty pretty))
out))
(defun compile-and-write (&rest forms)
"Shortcut for (WRITE-SHEET (COMPILE-SHEET FORMS*))"
(write-sheet
(apply #'compile-sheet
forms)))

View file

@ -23,7 +23,8 @@
#:define-special-block
#:define-special-attribute
#:define-special-selector
#:generate)
#:generate
#:compile-and-write)
;; special.lisp
(:export
#:define-single-arg-selector