I have an application to which I would like to receive an invitation. If this helps, this is the implementation of the graph database, and I need a hint, like any other database client (MySQL, Postgresql, etc.).
So far I have my own REPL:
object App extends Application {
REPL ! Read
}
object REPL extends Actor {
def act() {
loop {
react {
case Read => {
print("prompt> ")
var message = Console.readLine
this ! Eval(message)
}
case More(sofar) => {
print(" --> ")
var message = Console.readLine
this ! Eval(sofar + " " + message)
}
case Eval(message) => {
Evaluator ! Eval(message)
}
case Print(message) => {
println(message)
this ! Read
}
case Exit => {
exit()
}
case _ => {
println("App: How did we get here")
}
}
}
}
this.start
}
It works, but I would really like to have something with the story. Tab filling is not required.
Any suggestions for a good library? Scala or running Java.
Just to be clear, I don't need a REPL to evaluate my code (I get this with scala!), And I'm not going to call or use anything from the command line. I am looking for a hint which is my user interface when starting my client application.