1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-23 21:10:29 +02:00
guile/module
Andy Wingo 416f26c753 catch, throw, with-throw-handler implemented in Scheme
* libguile/throw.c (tc16_jmpbuffer, tc16_pre_unwind_data): Remove these
  smob types, and associated constructors and accessors (all internal).
  (scm_catch, scm_catch_with_pre_unwind_handler):
  (scm_with_throw_handler, scm_throw): Simply dispatch to scheme.
  Lovely.
  (tc16_catch_closure): Introduce a new applicable smob type, for use by
  the C catch interface. All constructors and accessors are internal.
  (scm_c_catch, scm_internal_catch, scm_c_with_throw_handler): Build
  applicable smobs out of the C procedure arguments, so we can then
  dispatch through scm_catch et al.
  (scm_ithrow): Dispatch to scm_throw.
  (pre_init_catch, pre_init_throw): Restricted catch/throw
  implementation for use before boot-9 runs.
  (scm_init_throw): Bind the pre-init catch and throw definitions.

* module/ice-9/boot-9.scm (prompt, abort): Move these definitions up in
  the file.
  (catch, throw, with-throw-handler): Implement in Scheme. Whee!
2010-02-26 11:56:17 +01:00
..
ice-9 catch, throw, with-throw-handler implemented in Scheme 2010-02-26 11:56:17 +01:00
language ensure non-escape-only prompts have a thunk application as their body 2010-02-24 00:32:07 +01:00
oop eval.c closures are now applicable smobs, not tc3s 2009-12-04 19:20:11 +01:00
rnrs Provide Guile-friendly `coding:' meta-data. 2010-01-11 01:21:13 +01:00
scripts fix doc snarfing with fedora 12 2010-01-17 18:22:51 +01:00
srfi Inline SRFI-9 constructors too. 2010-02-01 00:25:51 +01:00
sxml import statprof, sxml, and texinfo from guile-lib 2009-12-21 00:01:13 +01:00
system `load' doesn't cause the compiler to be loaded in some cases 2010-02-16 21:15:40 +01:00
texinfo fix texinfo reflection for procedures 2010-01-12 22:50:10 +01:00
Makefile.am Add `(ice-9 vlist)'. 2010-02-03 00:02:14 +01:00
statprof.scm statprof bugfixes 2010-01-27 21:52:05 +01:00
texinfo.scm Remove unused top-level variables. 2010-01-11 01:21:14 +01:00