src/Pure/proof_general.ML
changeset 20642 cfe2b0803a51
parent 20364 f7e440f2eb2f
child 20664 ffbc5a57191a
equal deleted inserted replaced
20641:12554634e552 20642:cfe2b0803a51
  1355 in
  1355 in
  1356   (* NB: simple tty for now; later might read from other tty-style sources (e.g. sockets). *)
  1356   (* NB: simple tty for now; later might read from other tty-style sources (e.g. sockets). *)
  1357 
  1357 
  1358   val xmlP = XML.scan_comment_whspc |-- XML.parse_elem >> single
  1358   val xmlP = XML.scan_comment_whspc |-- XML.parse_elem >> single
  1359 
  1359 
  1360   val tty_src = Source.set_prompt "" (Source.source Symbol.stopper xmlP NONE Source.tty)
  1360   fun pgip_src istrm = Source.source Symbol.stopper xmlP NONE 
       
  1361 			      (Source.of_instream_slurp istrm);
       
  1362 
       
  1363   val tty_src = pgip_src TextIO.stdIn;
  1361 
  1364 
  1362   fun pgip_toplevel x = loop true x
  1365   fun pgip_toplevel x = loop true x
  1363 end
  1366 end
  1364 
  1367 
  1365 
  1368