Skip to content

Instantly share code, notes, and snippets.

@mfikes
Created December 6, 2015 14:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mfikes/43ccddf688e3f712392a to your computer and use it in GitHub Desktop.
Save mfikes/43ccddf688e3f712392a to your computer and use it in GitHub Desktop.
Quil macro use from bootstrapped ClojureScript
$ planck -c /Users/mfikes/.m2/repository/quil/quil/2.3.0/quil-2.3.0.jar
cljs.user=> (require-macros '[quil.helpers.tools :refer [with-shape]])
nil
cljs.user=> (macroexpand '(with-shape :foo (let [x 3] x)))
(do (quil.core/begin-shape :foo) (let [x 3] x) (quil.core/end-shape))
cljs.user=> 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment