src/HOL/TPTP/lib/Tools/tptp_translate
changeset 46320 0b8b73b49848
parent 46319 c248e4f1be74
child 46324 e4bccf5ec61e
equal deleted inserted replaced
46319:c248e4f1be74 46320:0b8b73b49848
    20 
    20 
    21 SCRATCH="Scratch_${PRG}_$$_${RANDOM}"
    21 SCRATCH="Scratch_${PRG}_$$_${RANDOM}"
    22 
    22 
    23 for FILE in "$@"
    23 for FILE in "$@"
    24 do
    24 do
    25   echo "theory $SCRATCH imports \"Main\" begin ML {* ATP_Translate.translate_tptp_file \"$FILE\" *} end;" \
    25   echo "theory $SCRATCH imports \"Main\" begin ML {* ATP_Problem_Generate.translate_tptp_file \"$FILE\" *} end;" \
    26     > /tmp/$SCRATCH.thy
    26     > /tmp/$SCRATCH.thy
    27   "$ISABELLE_PROCESS" -e "use_thy \"/tmp/$SCRATCH\"; exit 1;"
    27   "$ISABELLE_PROCESS" -e "use_thy \"/tmp/$SCRATCH\"; exit 1;"
    28 done
    28 done