# HG changeset patch # User blanchet # Date 1353934225 -3600 # Node ID bcbdf217988008e5911bb38e3c94f5ebab1902b2 # Parent 40e3c3be6bcaa302e655338897473f9accaef942 removed tool that was never finished diff -r 40e3c3be6bca -r bcbdf2179880 src/HOL/TPTP/lib/Tools/tptp_translate --- a/src/HOL/TPTP/lib/Tools/tptp_translate Mon Nov 26 13:35:05 2012 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -#!/usr/bin/env bash -# -# Author: Jasmin Blanchette -# -# DESCRIPTION: Translation tool for TPTP formats - - -PRG="$(basename "$0")" - -function usage() { - echo - echo "Usage: isabelle $PRG FORMAT IN_FILE OUT_FILE" - echo - echo " Translates TPTP input file to specified TPTP format (\"CNF\", \"FOF\", \"TFF0\", \"TFF1\", or \"THF0\")." - echo - exit 1 -} - -[ "$#" -ne 3 -o "$1" = "-?" ] && usage - -SCRATCH="Scratch_${PRG}_$$_${RANDOM}" - -args=("$@") - -echo "theory $SCRATCH imports \"$TPTP_HOME/ATP_Problem_Import\" begin \ -ML {* ATP_Problem_Import.translate_tptp_file \"${args[0]}\" \"${args[1]}\" \"${args[2]}\" *} end;" \ - > /tmp/$SCRATCH.thy -"$ISABELLE_PROCESS" -e "use_thy \"/tmp/$SCRATCH\"; exit 1;"