Dynamic grammar interpreter.