On Sat, 12 Sep 2009, Joe Marshall wrote: >> (2) Should R7RS specify a REPL and its semantics? > > No. I've seen three `theories' of REPL. > 1) Traditional > 2) DrScheme: reload the world every time you press run > 3) An unusual backpatching module style that attempted to present > the illusion of a standard REPL but worked by generating a module > that captured the state of interaction so far.
(2) is really the same as (1) - AFAIR DrScheme has a traditional REPL with the usual REPL semantics. It is just restarted by the run button, but apart from that it behaves as if you retyped the forms in the definition window one by one at the prompt. Whatever (3) does, it seems from your description that it attempts to recreate the standard REPL semantics, or is there an observational difference? Andre _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
