5 ms·
Does that mean that Clojure is ported to Mono? If not, what level of Mono support can I expect? I'm wondering because I always wanted to start learning Clojure
by danabramov 12y ago
Does that mean that Clojure is ported to Mono?
If not, what level of Mono support can I expect?
I'm wondering because I always wanted to start learning Clojure but Java ecosystem puts me off.
- pjmlp 12y agoClojure exists for a long time in the form of Clojure-CLR.
- danabramov 12y agoSorry, I'm out of touch. I visited CJCLR a long time ago (maybe a year or two) and had the impression it's a work in progress and a lot of basic things are missing. Is that no longer true, or was my initial impression invalid? Can I start learning Clojure with it and expect it to work more or less like “proper” Clojure?
- ramseynasser 12y agoYou can expect a full, "proper" Clojure 1.7 experience using Arcadia.
- rcarmo 12y agoThere is a lot of Clojure code out there using Java interop. That said, a lot of "proper" Clojure runs across all three major runtimes (Java/CLR/JS) without any significant changes. (while I'm here, let me also point out http://hylang.org http://hylang.org in case you use Python - it's a nice gateway drug, if you'll pardon the pun)
- adambard 12y agoI've never used ClojureCLR personally, but its wiki on github claims to track the main Clojure project within weeks, and the last commit was 2 days ago. There seems to exist a version 1.6.0. That said, I bet the tooling isn't so nice to use as Leiningen, although there does exist a Visual Studio somewhere.
- ramseynasser 12y agoTotally! Arcadia is based on the Clojure-CLR port (an official project) maintained by David Miller for five years or so. It supports Mono. We had to fork the compiler to introduce a small number of changes to make Arcadia work in Unity, though. Unity ships a very old version of Mono with their own changes, so stock Clojure-CLR would not work. https://github.com/clojure/clojure-clr https://github.com/clojure/clojure-clr https://github.com/arcadia-unity/clojure-clr https://github.com/arcadia-unity/clojure-clr
- timsgardner 12y agoClojure-CLR is the real deal, too - 1.7, transducers, etc. nREPL support's probably coming soon.
- Rapzid 12y agoThat would be fantastic. If it could hook up to LighTable OOTB that would be a fantastic way to introduce people to it.
- ramseynasser 12y agoThat would be amazing! Can you invoke command line scripts from LT? If so you could just use our included REPL client implemented in Ruby. Otherwise you'd have to port it to ClojureScript, but the client is designed to be simple enough to make that easy to do.
- joshuafcole 12y agoYep, though it's not as easy as it could be yet. The best way currently is to write your own command leveraging our spawning APIs (a thin wrapper around node's child_process module with some extra cljs sugar).