YAMLScript code compiles to Clojure always.
However the Clojure is intended to be evaluated by the YS runtime.
Using the ys::std library which does some things different than Clojure core.
It would be good to support compilation that can be immediately used by Clojure, ClojureScript, Babashka, Jank or any other Clojure platform.
Each platform compilation option can produce different code.
It's also possible to output other files like deps.edn.
YAMLScript code compiles to Clojure always. However the Clojure is intended to be evaluated by the YS runtime. Using the
ys::std
library which does some things different than Clojure core.It would be good to support compilation that can be immediately used by Clojure, ClojureScript, Babashka, Jank or any other Clojure platform. Each platform compilation option can produce different code. It's also possible to output other files like
deps.edn
.