Alan, there was an attempt at compiling Clojure to C, https://github.com/schani/clojurec , but it hasn't been updated in a while.
On Thursday, April 30, 2015 at 11:00:02 PM UTC-4, Alan Moore wrote: > > All, > > I just ran across Nim (previously Nimrod) which is a garbage collected > systems programming language that looks like a suitable target for > transpiling Clojure. See: > > http://nim-lang.org/ > > My goal in looking at this is to have Clojure available in native code on > real-time embedded systems which is what I work on in my day job. It seemed > like targeting LLVM was the way forward with this goal but I have not heard > of any progress in this area and it feels large and foreboding. Obviously > targeting LLVM gives you a lot beyond just native code but it is limited in > the processors it supports. We use Freescale PPC processors which neither > LLVM nor most Javascript engines support, or if they do, they do so in a > very limited way - e.g. only certain procs, etc. > > Having a compiler toolchain that resolves down to C, small executables and > no/few dependencies is a huge advantage for using something like Nim. > > Is this of interest to anyone else? I'd like to get a proof of concept > started. Advice on porting Clojure to other languages would be greatly > appreciated :-) > > Alan > > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.