2010/8/29 Cédric Beust ♔ <[email protected]> > <snip/> > Of course it can, write the interpreter in Java and give it to the > students, they won't be able to tell the difference with the version > implemented in Scala. > > I understand you really like the fact that Kojo is implemented as a Scala > DSL but you need to step back and realize that it doesn't give Kojo users > any insight into Scala (Scala is actually only mentioned on one page of the > forty-four page documentation and the references simply point the reader to > http://scala-lang.org if they want to learn about Scala). > > -- > Cédric >
Just to reiterate here; Kojo is an "embedded' DSL. It does not have its own interpreter, but uses the standard Scala interpreter. Therefore you could use "regular" Scala mixed in with Kojo. Actually, Kojo is pretty much regular Scala, just with all the turtle functions imported into scope. I've tried to use the BeanShell as a java REPL and I must say that, especially with my comfort in Scala, I'd just open up the Scala REPL now. Or even the Groovy shell, go Groovy. -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
