author wenzelm
Sat, 07 Apr 2012 16:41:59 +0200
changeset 47389 e8552cba702d
parent 46951 4e032ac36134
child 47411 7df9a4f320a5
permissions -rw-r--r--
explicit checks stable_finished_theory/stable_command allow parallel asynchronous command transactions; tuned;

(*  Title:      HOL/TPTP/TPTP_Parser.thy
    Author:     Nik Sultana, Cambridge University Computer Laboratory

Importing TPTP files into Isabelle/HOL:
* parsing TPTP formulas;
* interpreting TPTP formulas as HOL terms (i.e. importing types, and
    type-checking the terms);

theory TPTP_Parser
imports Main
keywords "import_tptp" :: thy_decl 
  "TPTP_Parser/ml_yacc_lib.ML" (*generated from ML-Yacc's lib*)

  "TPTP_Parser/tptp_lexyacc.ML" (*generated from tptp.lex and tptp.yacc*)


text {*The TPTP parser was generated using ML-Yacc, and needs the
ML-Yacc library to operate.  This library is included with the parser,
and we include the next section in accordance with ML-Yacc's terms of

text {*
Copyright 1989, 1990 by David R. Tarditi Jr. and Andrew W. Appel

Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both the copyright notice and this permission notice and warranty
disclaimer appear in supporting documentation, and that the names of
David R. Tarditi Jr. and Andrew W. Appel not be used in advertising or
publicity pertaining to distribution of the software without specific,
written prior permission.

David R. Tarditi Jr. and Andrew W. Appel disclaim all warranties with
regard to this software, including all implied warranties of
merchantability and fitness.  In no event shall David R. Tarditi
Jr. and Andrew W. Appel be liable for any special, indirect or
consequential damages or any damages whatsoever resulting from loss of
use, data or profits, whether in an action of contract, negligence or
other tortious action, arising out of or in connection with the use or
performance of this software.