getting further but very complicated. will have to use the Antlr adaptors on the interpreter.