c++ version of alica, a language for interactive cooperative agents