What is this? What is Clojure and why do you need it in node?
If you're more curious, check out the README which has a list of videos and articles on this.
11–20 of 35 posts
What is this? What is Clojure and why do you need it in node?
If you're more curious, check out the README which has a list of videos and articles on this.
If anyone is interested in mixing other languages in node, check out this silly little library I threw together: https://www.npmjs.com/package/polyglot-tag Embed any scripting language in a Node.js template literal!
What about the stdout/stderr... It ultimately has to give you back a child process. Could there be a spawn version that gives you the child process too?
If anyone is interested in mixing other languages in node, check out this silly little library I threw together: https://www.npmjs.com/package/polyglot-tag Embed any scripting language in a Node.js template literal!
This is actually really nifty. However can you change it to be asynchronous instead? Right now the polyglot runs synchronously. What about the stdout/stderr... It ultimately has to give you back a child process. Could there be a spawn version that gives you the child process too?
Earlier quoted context omitted.
Clojure is a lisp on the jvm. javascript compilers exist because people wanted to use clojure in web related projects.
It's not a javascript compiler as Clojure is a hosted language.
Earlier quoted context omitted.
Clojure is a lisp on the jvm. javascript compilers exist because people wanted to use clojure in web related projects.
It's not a javascript compiler as Clojure is a hosted language.
Author here. Ask me anything on nbb.
Author here. Ask me anything on nbb.
What's the difference between this and Clojurescript?
Earlier quoted context omitted.
What's the difference between this and Clojurescript?
The main difference is that nbb lets you execute a .cljs file straight away, without a compilation step. As such, it doesn't need any JVM tooling. You can create an AWS Lambda with only a couple of lines of code: https://blog.michielborkent.nl/aws-lambda-nbb.html