Re: Clojure as scripting language in a Java Application

2011-11-29 Thread iamcreasy
Thank you. This one looks great! On Nov 6, 5:21 am, Tal Liron wrote: > I'll plug Scripturian here, a library I wrote that has very good > thread-aware support for embedding Clojure, as well as other JVM languages > (JavaScript, Python, Ruby, PHP, Groovy): > > http://threecrickets.com/scripturian/

Re: Clojure as scripting language in a Java Application

2011-11-03 Thread iamcreasy
I was playing with Groovy yesterday. It was just several hours of work to read through the important parts and took only a few attempts to successfully load a complete level written in Groovy. :( Had to decide which one to pick. If I pick groovy, i will be always stuck with Imperative family, and

Re: Clojure as scripting language in a Java Application

2011-11-03 Thread iamcreasy
That's what I had in my mind. I was thinking about implementing a console(like old quake days) and the clojure script would be executed its written and pressed ctrl+enter. Behind there would be live update of the game scene graph. On Nov 4, 5:56 am, Gary Trakhman wrote: > For the parent's post, i

Re: Clojure as scripting language in a Java Application

2011-11-03 Thread iamcreasy
Sorry, I dont get the part of "advantages even if you do have stdin/ out (multiple sessions, for one)" The main thing I am getting here is, that a clojure receiving(to a particular port) end is attached with my game and there is another stand along clojure REPL program which would send commands to

Re: Clojure as scripting language in a Java Application

2011-11-03 Thread iamcreasy
m/pmf/clojure-jsr223/blob/master/src/de/torq/clojure... > > Hope that helps, > > - Chas > > On Nov 3, 2011, at 10:21 AM, iamcreasy wrote: > > > > > > > > > I am going to make a game framework using jMonkeyEngine.site :: > > jmonkeyengine.com >

Re: Clojure as scripting language in a Java Application

2011-11-03 Thread iamcreasy
voke( "filename" ) - > to load a source file from the classpath > * reference.invoke( my, args ) - to call whatever var is in the > reference (like the clojure.core/load example above) > > Sean > > > > > > > > On Thu, Nov 3, 2011 at 7:21 AM, iam

Clojure as scripting language in a Java Application

2011-11-03 Thread iamcreasy
I am going to make a game framework using jMonkeyEngine.site :: jmonkeyengine.com I want to include live modification / any kind of end user modification of the game through writing script. At first I was a bit biased towards Groovy but now I want to integrate clojure as scripting language in my f

Re: difference between Composite Form & Special Form

2011-05-29 Thread iamcreasy
d special forms. is it right? Your second post is a little over my head :s On May 26, 8:58 am, Ken Wesson wrote: > On Wed, May 25, 2011 at 10:15 PM, iamcreasy wrote: > > 1st question, > > Is the form word is a typo here? Isn't the word will be item? If not, > > is de

Re: difference between Composite Form & Special Form

2011-05-29 Thread iamcreasy
d special forms. is it right? Your second post is a little over my head :s On May 26, 8:58 am, Ken Wesson wrote: > On Wed, May 25, 2011 at 10:15 PM, iamcreasy wrote: > > 1st question, > > Is the form word is a typo here? Isn't the word will be item? If not, > > is de

difference between Composite Form & Special Form

2011-05-25 Thread iamcreasy
In page 19 of Pratical Clojure by Luke VanderHart & Stuart Sierra, Chapter 2, there is a paragraph, Special forms definition : Special forms are a particular type of composite form. For most purposes, they are used very similarly to a function call. The difference is that the first form of a speci

Hi, simple problem from a newbie

2011-05-08 Thread iamcreasy
Hi everybody :) I am an experienced C++ programmer. Recently I decided to try out clojure(I have some java experience). I read some tutorials of the basics clojure. Now I want to implement some simple algorithms. Starting with Insertion sort. But, when I have tried to start, I find myself lost.