Skip to content

Instantly share code, notes, and snippets.

View IGJoshua's full-sized avatar

Joshua Suskalo IGJoshua

  • Ames, IA
View GitHub Profile
freakhill / user-reader-dispatch-macro.clj
Created January 22, 2020 13:10
because i was curious, also keywords not supporting spaces is puzzling, why?
(ns keyword-reader-macro.core
(:import [clojure.lang LispReader LispReader$StringReader]))
(defn field []
(.getDeclaredField LispReader "dispatchMacros"))
(defn dispatch-macros []
(.get (field) LispReader))
(defn dispatch-reader!
ericnormand / 00_script.clj
Last active May 18, 2024 08:30
Boilerplate for running Clojure as a shebang script
#_DEPS is same format as deps.edn. Multiline is okay.
{:deps {clj-time {:mvn/version "0.14.2"}}}
#_You can put other options here