Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Land Of Lisp chapter 7 - Using SBCL.
(defun make-svg (file-name &key jpg)
#+lispworks (sys:call-system-showing-output (string+ cl-user::*organontech-graphviz* (if jpg " -Tjpg " " -Tsvg ") cl-user::*fcgaa-lean-mapping-path* "/" file-name ".dot" " -o " cl-user::*fcgaa-lean-mapping-path* "/" file-name (if jpg ".jpg" ".svg"))) #+sbcl (sb-ext:run-program cl-user::*organontech-graphviz* (list (if jpg "-Tjpg" "-Tsvg") (string+ cl-user::*fcgaa-lean-mapping-path* "/" file-name ".dot") "-o" (string+ cl-user::*fcgaa-lean-mapping-path* "/" file-name (if jpg ".jpg" ".svg"))) :output (weblog-stream) ) )
(or (net.aserve:vhost-log-stream (net.aserve:wserver-default-vhost net.aserve:*wserver*)) t)) ;;sends output directly to html stream on portable allegroserve
There are no comments on this comment yet.
(defun make-svg (file-name &key jpg)
(defun weblog-stream () (defmacro string+ (string &rest strings) `(concatenate 'string ,string ,@strings))