guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, wip-prompts, created. release_1-9-7-52


From: Andy Wingo
Subject: [Guile-commits] GNU Guile branch, wip-prompts, created. release_1-9-7-52-g7e52bd3
Date: Mon, 08 Feb 2010 12:05:47 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

http://git.savannah.gnu.org/cgit/guile.git/commit/?id=7e52bd318a14e3aa7f1e29714490ff7870b621a4

The branch, wip-prompts has been created
        at  7e52bd318a14e3aa7f1e29714490ff7870b621a4 (commit)

- Log -----------------------------------------------------------------
commit 7e52bd318a14e3aa7f1e29714490ff7870b621a4
Author: Andy Wingo <address@hidden>
Date:   Sun Feb 7 14:50:51 2010 +0100

    scm_i_make_continuation takes vm and vm_cont args explicitly
    
    * libguile/continuations.h:
    * libguile/continuations.c (scm_i_make_continuation): Take VM and VM
      continuation arguments as well; I'm not convinced that saving all VM
      continuations was the right thing, and in any case we only ever saved
      the latest. Running a new VM should create a continuation barrier.
    
    * libguile/eval.c (eval):
    * libguile/stacks.c (scm_make_stack):
    * libguile/vm-i-system.c (call/cc, tail-call/cc): Adapt callers.
    
    * libguile/vm.h (scm_i_vm_capture_continuation)
      (scm_i_vm_reinstate_continuation): Change to be internal, and to only
      capture and reinstate continuations for a particular VM.

commit 88dc3346ec16b50812c262fedc2de5a1f96951a6
Author: Andy Wingo <address@hidden>
Date:   Sun Feb 7 14:16:54 2010 +0100

    make scm_make_continuation internal
    
    * libguile/continuations.h:
    * libguile/continuations.c (scm_i_make_continuation): Change from
      scm_make_continuation, and make internal.
    
    * libguile/eval.c (eval):
    * libguile/vm-i-system.c (call/cc, tail-call/cc): Adapt callers.
    
    * test-suite/standalone/test-unwind.c (check_cont_body): Adapt a test.
    
    * doc/ref/api-control.texi (Continuations): Update docs.

commit 1d1cae0e2e063d9a36e7d600f87cf3d6eaf940f3
Author: Andy Wingo <address@hidden>
Date:   Sat Feb 6 17:00:03 2010 +0100

    continuations are vm procedures
    
    * libguile/vm-i-system.c (continuation-call): New op, like subr-call or
      foreign-call, but for continuations.
    
    * libguile/continuations.h: Add scm_i_continuation_call internal
      declaration.
      (SCM_CONTINUATIONP): Reimplement in terms of
      SCM_PROGRAM_IS_CONTINUATION.
      (scm_tc16_continuation, SCM_CONTREGS, SCM_CONTINUATION_LENGTH)
      (SCM_SET_CONTINUATION_LENGTH, SCM_JMPBUF, SCM_DYNENV, SCM_THROW_VALUE)
      (SCM_CONTINUATION_ROOT, SCM_DFRAME): Remove these from the exposed
      API.
      (scm_i_continuation_to_frame): New internal declaration.
    * libguile/continuations.c
    * libguile/continuations.c: Add trickery like in foreign.c, smob.c, and
      gsubr.c, so that we can make procedural trampolines for continuations.
      (scm_i_continuation_to_frame): New internal function, from stacks.c.
    
    * libguile/programs.h (SCM_F_PROGRAM_IS_CONTINUATION)
      (SCM_PROGRAM_IS_CONTINUATION): Add a flag for programs that are
      continuations. Probably should add flags for the other trampoline
      types too.
    * libguile/programs.c (scm_i_program_print): Print continuations as
      before.
    
    * libguile/stacks.c (scm_stack_id, scm_make_stack): Use
      scm_i_continuation_to_frame in the continuation case.

commit 217167c6b2e6e400306c8cb4a0bff86c17eef28c
Author: Andy Wingo <address@hidden>
Date:   Fri Feb 5 11:30:53 2010 +0100

    push a prompt handler value even in the inline-handler case
    
    * module/language/tree-il/compile-glil.scm (flatten): Push a handler
      value even in the inline-handler case, to make prompt's interface more
      uniform, and also to correspond to the existing VM implementation.

commit adaf86ec49959f6df55947cf69ac98d6bf1074f7
Author: Andy Wingo <address@hidden>
Date:   Tue Feb 2 22:59:55 2010 +0100

    connect a few more wires to promptenstein
    
    * libguile/tags.h (scm_tc7_prompt): Allocate a tc7 for prompt objects.
    
    * libguile/control.h (SCM_F_PROMPT_INLINE, SCM_F_PROMPT_ESCAPE)
      (SCM_PROMPT_P, SCM_PROMPT_FLAGS, SCM_PROMPT_INLINE_P)
      (SCM_PROMPT_ESCAPE_P, SCM_PROMPT_TAG, SCM_PROMPT_REGISTERS)
      (SCM_PROMPT_DYNENV, SCM_PROMPT_HANDLER)
      (SCM_PROMPT_PRE_UNWIND_HANDLER, SCM_PROMPT_SETJMP)
      (struct scm_prompt_registers):
    * libguile/control.c (scm_c_make_prompt): Flesh out a simple prompts
      implementation.
    
    * libguile/vm-i-system.c (prompt): Wire up the implementation.
    * libguile/vm.c: Add a needed #include.

-----------------------------------------------------------------------


hooks/post-receive
-- 
GNU Guile




reply via email to

[Prev in Thread] Current Thread [Next in Thread]