With read-string in Clojure, the :clj platform feature is always active but
it is possible to add additional features like :cljs:
(read-string {:read-cond :allow, :features #{:cljs}} "#?(:clj 1 :cljs 2)")
In this case, both :clj and :cljs features will be active, so it will
return 1 because
Hi
Is it possible to read a string containing reader conditionals using a
platform different from "current". In particular in from clojure I want to
read a string that contains :cljs reader conditionals and evaluate them as
if current platform is cljs.
Example: if I run the following code from