src/HOL/Tools/ATP/system_on_tptp.ML
changeset 73418 7d7d959547a1
child 73419 22f3f2117ed7
equal deleted inserted replaced
73417:1dcc2b228b8b 73418:7d7d959547a1
       
     1 (*  Title:      HOL/Tools/ATP/system_on_tptp.ML
       
     2     Author:     Makarius
       
     3 
       
     4 Support for remote ATPs via SystemOnTPTP.
       
     5 *)
       
     6 
       
     7 signature SYSTEM_ON_TPTP =
       
     8 sig
       
     9   val get_url: unit -> string
       
    10   val list_systems: unit -> string list
       
    11 end
       
    12 
       
    13 structure SystemOnTPTP: SYSTEM_ON_TPTP =
       
    14 struct
       
    15 
       
    16 fun get_url () = Options.default_string \<^system_option>\<open>SystemOnTPTP\<close>
       
    17 
       
    18 fun list_systems () = get_url () |> \<^scala_thread>\<open>SystemOnTPTP.list_systems\<close> |> split_lines
       
    19 
       
    20 end