In case anyone's interested at this stage, I have a preliminary version of 
a Clojure-from-NetLogo extension working.  For the moment, all that it can 
do is allow you to pass a string containing Clojure code to clojure:eval, 
which will return to NetLogo a string representing the result that Clojure 
returned.  That's it.  Not well tested.

https://github.com/mars0i/netlogo-clojure

My next step, when I get a moment, will be to look at how to implement some 
NetLogo->Clojure->NetLogo type conversions.  For now I'll probably only do 
this for types I want to use for my current project.  Lists of numbers.

Thanks-

Marshall

On Tuesday, August 5, 2014 at 3:35:56 PM UTC-5, Marshall wrote:
>
> Thanks Jason.  I think I'll be writing my extension at some point in the 
> next few months, and will make it available as an example, with notes if 
> possible, etc.  
>
> My plan is to write the extension code as such in Java; this part will 
> look like other extensions, but won't do a lot on its own.  Then that code 
> will call Clojure code, and vice versa.  Though I suppose I might try 
> writing the extension interface itself in Clojure.  In theory, that should 
> be possible.
>

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to