Description
Contents are writing in Markdown https://gist.github.com/jiyinyiyong/6f3ee26b23046773407b7eefbaa2ca43
Please submit feedbacks with comments.
"Clojure is a dialect of the Lisp programming language. Clojure is a general-purpose programming language with an emphasis on functional programming. ClojureScript is a compiler for Clojure that targets JavaScript.
Learning
ClojureScript shares same syntax with Clojure but with different host APIs and environments. To Learn it:
- ClojureScript Syntax in 15 minutes
- Learn X in Y minutes
- ClojureScript: JavaScript Interop, Video
- ClojureScript Cheatsheet
- Clojure for the Brave and True: Do Things
- Understanding Clojure's Persistent Vectors, pt. 1
Compilers
Compiling and hot-swapping ClojureScript programs require tools. Pick one of those as you need:
"
ClojureScript and Clojure
ClojureScript and Clojure share the same syntax but distinguish by .cljs
extension name. The most different part is the difference in host platforms, like JavaScript is known as single-threaded and restricted by browser APIs.
Libraries of both sides release code on Clojars in jar files.
ClojureScript and npm
With JavaScript InterOp, you may call some JavaScript code from in Clojure syntax. ClojureScript is designed to use features from host platform. You are free to import npm modules in ClojureScript, most of them will work correctly, especially in shadow-cljs and Lumo.
Communities
Join us on:
- http://clojureverse.org/
- http://clojurians.slack.com/
- https://www.reddit.com/r/Clojure/
- https://discord.gg/X6yrEjc
Also cool if you use Twitter.