Re: Clojure-in-CommonLisp?

2011-11-16 Thread Konrad Hinsen
On 15 nov. 2011, at 17:00, David Nolen wrote: Integrating with C / C++ is also possible with ClojureScript + (V8 or Node.js) as well. I never looked at those options. Is it possible to manipulate C/C++ data directly from ClojureScript, without bulky wrapper objects? That's what I care most

Re: Clojure-in-CommonLisp?

2011-11-16 Thread Konrad Hinsen
On 15 nov. 2011, at 18:21, Marshall T. Vandegrift wrote: Integrating the JVM with C via JNA [1] is pretty straightforward. I've been doing all my JNA glue in Java so far because JNA depends on a few features which aren't available / convenient use in Clojure [2], but a decent Clojure wrapper

Re: Clojure-in-CommonLisp?

2011-11-16 Thread Konrad Hinsen
On 15 nov. 2011, at 17:17, Roy Lowrance wrote: What not create a C implementation in which the hosted language is dynamic link libraries? Fine with me, but that sounds like a huge effort. Konrad. -- You received this message because you are subscribed to the Google Groups Clojure group.

Re: Clojure-in-CommonLisp?

2011-11-16 Thread Alessio Stalla
On 15 Nov, 16:58, Konrad Hinsen googlegro...@khinsen.fastmail.net wrote: On 15 Nov, 2011, at 15:46 , Doug South wrote: I know a little CL and even less of Clojure, but wouldn't Clojure in CL be fairly trivial? Just a DSL in CL? All of Clojure's persistent data structures would have to be

Re: Clojure-in-CommonLisp?

2011-11-16 Thread NGUYEN Vu Ngoc Tung
http://riddell.us/ClojureWithEmacsSlimeSwankOnUbuntu.html -- 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

Re: Clojure-in-CommonLisp?

2011-11-15 Thread Dennis Crenshaw
I haven't dealt with CL in quite a while, but there is this (which I was involved with in my undergrad at CofC): http://clforjava.org/ CLforJava may be helpful since it is, a totally new version of the Common Lisp language that runs on the Java Virtual Machine and is intertwined with the Java

Re: Clojure-in-CommonLisp?

2011-11-15 Thread Konrad Hinsen
On 15 Nov, 2011, at 6:51 , Cyrus Harmon wrote: I've been wanting this for some time. Obviously the java interop stuff poses challenges, but the clojure data types, protocols, immutable objects, clojure syntax, etc... would make for a nice dialect of lisp to be used alongside other CL code.

Re: Clojure-in-CommonLisp?

2011-11-15 Thread Doug South
With my limited theoretical understanding of Clojure, I would expect the language to interop with the platform it was implemented on. Therefore I would expect Clojure in CL to interop with CL and not the JVM. I know a little CL and even less of Clojure, but wouldn't Clojure in CL be fairly

Re: Clojure-in-CommonLisp?

2011-11-15 Thread David Nolen
On Tue, Nov 15, 2011 at 4:53 AM, Konrad Hinsen googlegro...@khinsen.fastmail.net wrote: On 15 Nov, 2011, at 6:51 , Cyrus Harmon wrote: I've been wanting this for some time. Obviously the java interop stuff poses challenges, but the clojure data types, protocols, immutable objects, clojure

Re: Clojure-in-CommonLisp?

2011-11-15 Thread Nate Young
There's also ABCL, the Common Lisp implementation that maintains the inalienable right to arm bears, written in Java and supporting interop between both Java and Lisp. http://common-lisp.net/project/armedbear/doc/abcl-user.html On 11/15/2011 09:13 AM, Dennis Crenshaw wrote: I haven't dealt with

Re: Clojure-in-CommonLisp?

2011-11-15 Thread Marshall T. Vandegrift
Konrad Hinsen googlegro...@khinsen.fastmail.net writes: That may be a minority, but an implementation based on Common Lisp could also open the way to an integration with the world of C, via a Common Lisp implementation with a decent C interface. Integrating the JVM with C via JNA [1] is

Re: Clojure-in-CommonLisp?

2011-11-15 Thread Cyrus Harmon
Right, but what I have in mind is clojure-sitting-on-top-of-SBCL so that one can (with a suitable reimplementation thereof) use clojure's persistent data structures, protocols, deftype, etc... on top of a (somewhat more traditional?) native code-generating backend like SBCL's. There's a lot of

Announce: ClojLisp -- Clojure-in-CommonLisp

2011-11-15 Thread daly
I have created a 0th iteration of the clojure in common lisp effort. git clone git://github.com/daly/clojlisp.git will create a directory called clojlisp containing: README -- how to get started from scratch clojlisp.pamphlet -- the literate program clojlisp.pdf -- a pdf

Re: Clojure-in-CommonLisp?

2011-11-15 Thread Aaron Cohen
FYI: https://github.com/bagucode/clj-native uses bytecode generation to create the glue classes on the fly. On Tue, Nov 15, 2011 at 12:21 PM, Marshall T. Vandegrift llas...@gmail.comwrote: Integrating the JVM with C via JNA [1] is pretty straightforward. I've been doing all my JNA glue in

Re: Clojure-in-CommonLisp?

2011-11-15 Thread Justin Balthrop
Another option for JNA is: https://github.com/chouser/clojure-jna On Nov 15, 2011, at 9:34 AM, Aaron Cohen aa...@assonance.org wrote: FYI: https://github.com/bagucode/clj-native uses bytecode generation to create the glue classes on the fly. On Tue, Nov 15, 2011 at 12:21 PM, Marshall T.

Re: Clojure-in-CommonLisp?

2011-11-15 Thread Roy Lowrance
What not create a C implementation in which the hosted language is dynamic link libraries? Roy On Tue, Nov 15, 2011 at 4:53 AM, Konrad Hinsen googlegro...@khinsen.fastmail.net wrote: On 15 Nov, 2011, at 6:51 , Cyrus Harmon wrote: I've been wanting this for some time. Obviously the java

Clojure-in-CommonLisp?

2011-11-14 Thread daly
It seems to me that a Clojure in Common Lisp might be the easiest non-JVM port. It would be a DSL within Common Lisp. A CL implementation would even allow rewriting the normal COND syntax. Is there an obvious reason why this would be a bad idea? Heck, it might even be possible to make the port

Re: Clojure-in-CommonLisp?

2011-11-14 Thread Phil Hagelberg
On Mon, Nov 14, 2011 at 4:18 PM, daly d...@axiom-developer.org wrote: It seems to me that a Clojure in Common Lisp might be the easiest non-JVM port. It would be a DSL within Common Lisp. A CL implementation would even allow rewriting the normal COND syntax. Is there an obvious reason why this

Re: Clojure-in-CommonLisp?

2011-11-14 Thread daly
On Mon, 2011-11-14 at 16:26 -0800, Phil Hagelberg wrote: On Mon, Nov 14, 2011 at 4:18 PM, daly d...@axiom-developer.org wrote: It seems to me that a Clojure in Common Lisp might be the easiest non-JVM port. It would be a DSL within Common Lisp. A CL implementation would even allow

Re: Clojure-in-CommonLisp?

2011-11-14 Thread Cyrus Harmon
Tim, I've been wanting this for some time. Obviously the java interop stuff poses challenges, but the clojure data types, protocols, immutable objects, clojure syntax, etc... would make for a nice dialect of lisp to be used alongside other CL code. (I guess I'm in the small minority of folks