class TranslatorCompiler {

    public void compile() {
        final File tempFile = copyTranslatorScript();
        final CclExecutor executor = CclExecutor.getExecutor();
        executor.addScriptCompiler(tempFile).commit();
        executor.execute();
        if (!tempFile.delete()) {
            System.out.println("failed to delete " + tempFile);
        }
    }

}