clojurescript-npm
clojurescript-npm copied to clipboard
NPM module for the the ClojureScript programming language
and a year too late
When I installed `clojurescript`, I did not find `clojurescript/register` as said in the docs. It is available in `clojurescript/lib/register` instead.
Macros are complicated by the fact that ClojureScript, for historic reasons, does not normally support macros. They are instead a compile-time feature used on the JVM side when generating JavaScript...
``` cljs.user=> #a Error { message: 'No reader function for tag a', data: { meta: null, cnt: 1, arr: [ [Object], [Object] ], __hash: null, 'cljs$lang$protocol_mask$partition0$': 16647951, 'cljs$lang$protocol_mask$partition1$': 8196 },...
Dependencies
How do I declare and acquire ClojureScript dependencies from node? Do we implement `project.clj` and `defproject`? Something like we did in [Arcadia](https://github.com/arcadia-unity/Arcadia/blob/develop/Source/arcadia/packages.clj)?
``` $ cljs cljs.user=> (print "[") ... ```
Hi, I've made the following minor code changes: - Type hint boolean for javascript function returning boolean values for better cljs code output. - Use idiomatic way to call js...
Just thinking out loud. In JVM land we have `:import`. ``` (ns foo) (def mom (js/require "moment")) (defn main [] (println "Today is" (-> (mom.) (.format "dddd")))) ``` Might be...