return compile status code, error log, and translated source