diff options
Diffstat (limited to 'macros.lisp')
| -rw-r--r-- | macros.lisp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/macros.lisp b/macros.lisp new file mode 100644 index 0000000..85f2c9d --- /dev/null +++ b/macros.lisp @@ -0,0 +1,6 @@ +;; Parenscript shortcut +(defmacro script (&rest body) + "Macro expanding to (:script (:raw (ps body))). Great for embedding JS inside page." + `(list :script + (list :raw + (ps ,@body)))) |
