Re: A clojure server

2009-08-09 Thread christian
Konrad Hinsen writes: > On 05.04.2009, at 17:35, Christian von Essen wrote: > >> Yeah, I'll try providing some documentation for that. As for MacOS X, >> I don't have any, so we have to figure it out together, or hope that >> anyone else knows how to do it :) > > I looked at this yesterday. Appa

Re: A clojure server

2009-04-14 Thread Konrad Hinsen
On 05.04.2009, at 17:35, Christian von Essen wrote: > Yeah, I'll try providing some documentation for that. As for MacOS X, > I don't have any, so we have to figure it out together, or hope that > anyone else knows how to do it :) I looked at this yesterday. Apparently all those headers and li

Re: A clojure server

2009-04-05 Thread christ...@mvonessen.de
On Apr 5, 5:39 pm, Christian von Essen wrote: > On Sat, Apr 04, 2009 at 11:50:57PM +0200, Meikel Brandmeyer wrote: > > I'm haven't tried, yet. But the gensymed namespace certainly will > > get in the way, since VimClojure relies on the namespace not > > going away between the runs, since there is

Re: A clojure server

2009-04-05 Thread Christian von Essen
On Sat, Apr 04, 2009 at 11:50:57PM +0200, Meikel Brandmeyer wrote: > I'm haven't tried, yet. But the gensymed namespace certainly will > get in the way, since VimClojure relies on the namespace not > going away between the runs, since there is no continuous > connection between Vim and the server.

Re: A clojure server

2009-04-05 Thread Christian von Essen
On Sat, Apr 04, 2009 at 09:56:00PM +0200, Konrad Hinsen wrote: > I tried to install your server, but I got stuck with the posix > package. There are no installation instructions, and from looking at > the Makefile it seems like I need to provide information about my JVM > that I don't know w

Re: A clojure server

2009-04-04 Thread Meikel Brandmeyer
Hi, Am 04.04.2009 um 23:41 schrieb bOR_: Has anyone tried to combine clojure-server and vimclojure yet? I'm still hopping IDEs to see which system I like best, and vim was next on the list :). I'm haven't tried, yet. But the gensymed namespace certainly will get in the way, since VimClojure r

Re: A clojure server

2009-04-04 Thread bOR_
Has anyone tried to combine clojure-server and vimclojure yet? I'm still hopping IDEs to see which system I like best, and vim was next on the list :). On Apr 4, 9:56 pm, Konrad Hinsen wrote: > On 04.04.2009, at 19:45, christ...@mvonessen.de wrote: > > > I'm not sure I undestand what you want to

Re: A clojure server

2009-04-04 Thread Konrad Hinsen
On 04.04.2009, at 19:45, christ...@mvonessen.de wrote: > I'm not sure I undestand what you want to do, but couldn't you just do > > (in-ns 'clojure.core) > (def #^{:private true} > global-hierarchy (make-hierarchy)) > > and be happy? That should indeed work... I'll try! I tried to install

Re: A clojure server

2009-04-04 Thread christ...@mvonessen.de
> > I wonder if it is possible somehow to reload clojure.core. The main   > reason would be to reset the global hierarchy for multimethods. > I'm not sure I undestand what you want to do, but couldn't you just do (in-ns 'clojure.core) (def #^{:private true} global-hierarchy (make-hierarchy)

Re: A clojure server

2009-04-04 Thread Konrad Hinsen
On 04.04.2009, at 14:39, christ...@mvonessen.de wrote: >> Temporary namespaces are working now. Yay! >> (in-ns 'user) doesn't work, as for every connection a new namespace >> name is gensym'ed. After the connection is closed, the namespace >> is deleted. > > Oh yeah, I forgot: Classes aren't relo

Re: A clojure server

2009-04-04 Thread christ...@mvonessen.de
On Apr 4, 12:58 pm, "christ...@mvonessen.de" wrote: > > I haven't tried Christian's Clojure-specific server yet, but if it   > > solves that problem, I'll probably adopt it. > > Temporary namespaces are working now. Yay! > (in-ns 'user) doesn't work, as for every connection a new namespace > name

Re: A clojure server

2009-04-04 Thread christ...@mvonessen.de
> I haven't tried Christian's Clojure-specific server yet, but if it   > solves that problem, I'll probably adopt it. Temporary namespaces are working now. Yay! (in-ns 'user) doesn't work, as for every connection a new namespace name is gensym'ed. After the connection is closed, the namespace is

Re: A clojure server

2009-04-03 Thread christ...@mvonessen.de
On Apr 1, 6:21 pm, christ...@mvonessen.de wrote: > > What nailgun has (beside the way cooler name) is the ability to > map *err* to stderr and *out* to stdout, which are just merged > into one datastream in my code. > OTOH, my code is written in Clojure, so it wins by default :P > This is done as

Re: A clojure server

2009-04-01 Thread christian
On Wed, Apr 01, 2009 at 05:27:55PM +0200, Konrad Hinsen wrote: > I haven't tried Christian's Clojure-specific server yet, but if it > solves that problem, I'll probably adopt it. > Sadly it doesn't. I could experiment with a custom classloader, though. For testing, such a server doesn't help

Re: A clojure server

2009-04-01 Thread Konrad Hinsen
On Apr 1, 2009, at 16:42, Victor Rodriguez wrote: > You might be interested in taking a look at nailgun: > http://www.martiansoftware.com/nailgun/index.html. I had tried nailgun a while ago, and still use it from time to time, but I found that for code development it has a significant disadv

Re: A clojure server

2009-04-01 Thread christian
On Wed, Apr 01, 2009 at 10:42:02AM -0400, Victor Rodriguez wrote: > > On Wed, Apr 1, 2009 at 8:28 AM, christ...@mvonessen.de > wrote: > > > > Hi, > > > > I wanted to use clojure for some scripting-like tasks (mostly > > experimenting with clojure's abilities). > > You might be interested in tak

Re: A clojure server

2009-04-01 Thread Victor Rodriguez
On Wed, Apr 1, 2009 at 8:28 AM, christ...@mvonessen.de wrote: > > Hi, > > I wanted to use clojure for some scripting-like tasks (mostly > experimenting with clojure's abilities). You might be interested in taking a look at nailgun: http://www.martiansoftware.com/nailgun/index.html. For example,

A clojure server

2009-04-01 Thread christ...@mvonessen.de
Hi, I wanted to use clojure for some scripting-like tasks (mostly experimenting with clojure's abilities). But I found, that clojure's startup time is too bad to do that. So I implemented a client-server architecture which works pretty much like clojure's default clojure.main. I'd be glad if you