simple eval code, code gen to ir later