RE: Dynamically Changing Functions in Compiled Code

2009-09-06 Thread Seth Burleigh
...@googlegroups.com] On Behalf Of Kevin Downey Sent: Saturday, September 05, 2009 10:54 PM To: clojure@googlegroups.com Subject: Re: Dynamically Changing Functions in Compiled Code http://gist.github.com/163140 for example this code creates a repl on port 4445 you can interact with via telnet. so

Dynamically Changing Functions in Compiled Code

2009-09-05 Thread Gorsal
I am trying to add clojure code to an eclipse plugin. To do so, the code i compiled into class files via the clojure-dev plugin. I have a generate class, ParenMatcher, which i use ever so often. This class has a function which i would like to change dynamically while debugging it. In other words,

Re: Dynamically Changing Functions in Compiled Code

2009-09-05 Thread Kevin Downey
gen-class generates a stub java class that dispatches to clojure functions, you can re-def the clojure functions that back the stubbed out class. On Sat, Sep 5, 2009 at 12:10 PM, Gorsals...@tewebs.com wrote: I am trying to add clojure code to an eclipse plugin. To do so, the code i compiled

RE: Dynamically Changing Functions in Compiled Code

2009-09-05 Thread Seth Burleigh
- From: clojure@googlegroups.com [mailto:cloj...@googlegroups.com] On Behalf Of Kevin Downey Sent: Saturday, September 05, 2009 7:46 PM To: clojure@googlegroups.com Subject: Re: Dynamically Changing Functions in Compiled Code gen-class generates a stub java class that dispatches to clojure functions

Re: Dynamically Changing Functions in Compiled Code

2009-09-05 Thread Kevin Downey
it... -Original Message- From: clojure@googlegroups.com [mailto:cloj...@googlegroups.com] On Behalf Of Kevin Downey Sent: Saturday, September 05, 2009 7:46 PM To: clojure@googlegroups.com Subject: Re: Dynamically Changing Functions in Compiled Code gen-class generates a stub java class