ClojureScript has plenty of sharp edges, and this project is a bit rougher
than even ClojureScript at the moment so you'll have to pardon the mess.
The magic happens in the cljs.compiler namespace. Load up a clojure repl
and do something along the lines of:
(do (require 'cljs.compiler) (require
I've been itching to try this out. I pulled down the repo, grabbed
gambit-scheme, and started to look around, but I'm a little lost as to how I
can get it working. Could you provide the magic required to make one pass from
cljs to scm to c? I would be happy to contribute to the project, but I'm
Gambit Scheme especially has a great interface to C/C++/Objective-C. I've
been happily using Gambit quite a bit for 20+ years, when it originated as
gambit-68k for the Motorola 68000.
Gambit-C's been ported to iOS, Nintendo DS, etc.
In addition to the great C interface, it also has a great Unix
I see the C code generation as an advantage, in that it becomes possible to
target any platform with a C compiler.
Can Clozure compile to iOS?
Just a question, why Clojure->Scheme->C, instead of Clojure->Clozure?
>
> That way there would no be any C compiler dependency.
>
--
You received th
Great work!
Just a question, why Clojure->Scheme->C, instead of Clojure->Clozure?
That way there would no be any C compiler dependency.
--
Paulo
On Mar 14, 10:08 pm, Nathan Sorenson wrote:
> I've modified the output of the ClojureScript compiler to emit Scheme code.
> At this point the core li