remove repl-vm; repl evaluation does not cause recursive vm invocation
authorAndy Wingo <wingo@pobox.com>
Fri, 12 Mar 2010 11:10:23 +0000 (12:10 +0100)
committerAndy Wingo <wingo@pobox.com>
Fri, 12 Mar 2010 11:10:23 +0000 (12:10 +0100)
commit01c0082fae4ce3b0c09f003a2141c38cfc062d74
tree33c6068d7a12aa0ddfaed749ce64ba23bd6493ff
parent32ce4058db1adc319dabf6f93143cb367f7456fc
remove repl-vm; repl evaluation does not cause recursive vm invocation

* module/system/repl/common.scm (<repl>): Remove "vm" field and repl-vm
  accessor. I think the correct model is to just use the-vm. This change
  was prompted by the need to have the REPL itself not cause a recursive
  VM invocation, so that captured prompts at the REPL are rewindable.
  (make-repl): Remove treatment of #:vm.
  (repl-eval): Load a compiled expression as a simple thunk, avoiding a
  recursive VM call.

* module/system/repl/command.scm (profile, trace): Remove repl-vm
  treatment.
  (backtrace, debugger, step): Remove, as they were not implemented.
module/system/repl/command.scm
module/system/repl/common.scm