mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-23 20:05:32 +02:00
%start-stack in Scheme, in terms of prompts
* libguile/debug.h: * libguile/debug.c (scm_sys_start_stack): Removed, we implement this in Scheme now. * libguile/vm.h: * libguile/vm.c (scm_vm_call_with_new_stack): Likewise removed. * module/ice-9/boot-9.scm (%start-stack): Implement in terms of prompts. (%stacks): New fluid, for tracking active stacks. (start-stack): Implement using syntax-rules.
This commit is contained in:
parent
5c606217a4
commit
a6cd355510
5 changed files with 15 additions and 20 deletions
|
@ -544,12 +544,6 @@ SCM_DEFINE (scm_vm_apply, "vm-apply", 3, 0, 0,
|
|||
}
|
||||
#undef FUNC_NAME
|
||||
|
||||
SCM
|
||||
scm_vm_call_with_new_stack (SCM vm, SCM thunk, SCM id)
|
||||
{
|
||||
return scm_c_vm_run (vm, thunk, NULL, 0);
|
||||
}
|
||||
|
||||
/* Scheme interface */
|
||||
|
||||
SCM_DEFINE (scm_vm_version, "vm-version", 0, 0, 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue