Skip to content

Instantly share code, notes, and snippets.

@jasom

jasom/foo Secret

Created October 11, 2018 21:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasom/7a02f6f228dcb469845ff1db86537e85 to your computer and use it in GitHub Desktop.
Save jasom/7a02f6f228dcb469845ff1db86537e85 to your computer and use it in GitHub Desktop.
#!/bin/sh
#|
LISP=sbcl
LISP=clisp
exec $LISP <<EOF
(set-dispatch-macro-character #\# #\! (lambda (s c n)(declare (ignore c n)) (read-line s) (values)))
(load "$0")
(cl-user::main)
EOF
|#
(defun main () (print "Hello, World") (terpri))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment