Simple IR implementation in Clojure