src/parenscript/compiler.lisp @ de58fc1af1e5
Poke a bit more at TNTO
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Thu, 15 Dec 2016 18:53:10 -0500 |
parents | 184af4c4e8fc |
children | (none) |
(in-package :sand.parenscript) (defun compile-parenscript-file (source) (let* ((source-path (pathname source)) (target-path (make-pathname :type "js" :defaults source-path))) (with-open-file (output target-path :direction :output :if-exists :supersede) (write-string (ps-compile-file source-path) output))) (values))