Started changing away from macros in files.
This commit is contained in:
parent
9507eca041
commit
d6ed2456c7
@ -1,12 +1,8 @@
|
||||
(ns propeller.push.instructions.numeric
|
||||
#?(:cljs (:require-macros
|
||||
[propeller.push.utils.macros :refer [def-instruction
|
||||
generate-instructions]]))
|
||||
(:require [propeller.push.utils.helpers :refer [make-instruction]]
|
||||
[propeller.tools.math :as math]
|
||||
#?(:cljs [cljs.reader :refer [read-string]]
|
||||
:clj [propeller.push.utils.macros :refer [def-instruction
|
||||
generate-instructions]])))
|
||||
[propeller.push.utils.macros :refer [def-instruction
|
||||
generate-instructions]]))
|
||||
|
||||
;; =============================================================================
|
||||
;; FLOAT and INTEGER Instructions (polymorphic)
|
||||
|
@ -33,5 +33,4 @@
|
||||
(let [instruction-name (keyword (str (name stack) (:name (meta func))))
|
||||
metadata (make-metadata func stack)
|
||||
new-func (with-meta (partial func stack) metadata)]
|
||||
(println [instruction-name new-func (meta new-func)])
|
||||
(def-instruction instruction-name new-func))))
|
Loading…
x
Reference in New Issue
Block a user