I want to embed a dsl or existing full language within my application. It should be a simple, full Turing complete language but simple and light enough that the code can be interpreted without too much overhead.
Also the other "processes" can't effect any other process.
I was considering using Clojure and invoking the Clojure interpreter/runtime compiler on Clojure code but the Clojure runtime takes a lot longer than I would need. Also, I am not overly excited of using the Clojure language for this project. I was thinking more procedural and C-like.
I considered Ola Bini's Ioke language. http://ioke.org/index.html
Also, I considered writing a DSL in Scala ? Or using an existing DSL.
Updated: It looks like Rhino is exactly what I want. Because I am working with 1.5 java.