src/Pure/PIDE/prover.scala
changeset 57915 448325de6e4f
parent 57906 020df63dd0a9
child 57916 2c2c24dbf0a4
equal deleted inserted replaced
57914:cbc55e5091a1 57915:448325de6e4f
     3 
     3 
     4 General prover operations.
     4 General prover operations.
     5 */
     5 */
     6 
     6 
     7 package isabelle
     7 package isabelle
       
     8 
       
     9 
       
    10 import java.io.BufferedReader
     8 
    11 
     9 
    12 
    10 object Prover
    13 object Prover
    11 {
    14 {
    12   /* syntax */
    15   /* syntax */
    15   {
    18   {
    16     def add_keywords(keywords: Thy_Header.Keywords): Syntax
    19     def add_keywords(keywords: Thy_Header.Keywords): Syntax
    17     def parse_spans(input: CharSequence): List[Command_Span.Span]
    20     def parse_spans(input: CharSequence): List[Command_Span.Span]
    18     def load_command(name: String): Option[List[String]]
    21     def load_command(name: String): Option[List[String]]
    19     def load_commands_in(text: String): Boolean
    22     def load_commands_in(text: String): Boolean
       
    23   }
       
    24 
       
    25 
       
    26   /* underlying system process */
       
    27 
       
    28   trait System_Process
       
    29   {
       
    30     def channel: System_Channel
       
    31     def stdout: BufferedReader
       
    32     def stderr: BufferedReader
       
    33     def terminate: Unit
       
    34     def join: Int
    20   }
    35   }
    21 
    36 
    22 
    37 
    23   /* messages */
    38   /* messages */
    24 
    39