equal
deleted
inserted
replaced
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 |