You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the current WIP dev stream which supports tests like:
(tests1:=1)
(tests (let [x 1] x :=1)) — implicit do
(tests (do (do1:=1)))
(tests (!1) % :=1)
(tests (future (!1)) % :=1)
(tests (do (!1) % :=1))
(tests (do (future (!1)) % :=1))
(tests (let [x 1] (! x) :=1))
(tests (do (future (!1)) % :=1))
thereby paving the way for userland syntax macros like (defmacro is [a b] `(do ~a := ~b)), custom assertions, resource cleanup macros, future syntax extensions.
Essentially RCF gives meaning to (do a := b) and (do (rcf/! a) rcf/% := b) (which are fully compatible with Clojure) and we use the Clojure/Script analyzer to do this correctly in deeply nested forms including interpreting Clojure special forms that have implicit do.
dustingetz
changed the title
rebuild RCF using clojure/script analyzer
rebuild RCF using clojure/script analyzer (wip)
Apr 7, 2022
This is the current WIP dev stream which supports tests like:
thereby paving the way for userland syntax macros like
(defmacro is [a b] `(do ~a := ~b))
, custom assertions, resource cleanup macros, future syntax extensions.Fixes #46 #44 #42 #40 #34 #32
and is infrastructure for #47 #39 #38 #33
The text was updated successfully, but these errors were encountered: