1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00
guile/module
Andy Wingo 4118f09030 CPS conversion does not introduce "throw"
This keeps things higher level, and is a step towards structured
exceptions in guile.

* module/language/cps/guile-vm/reify-primitives.scm (reify-primitives):
Turn raise-type-error, raise-range-error, and raise-arity-error into
variants of "throw".  Lower raise-exception to a non-tail primcall.

* module/language/tree-il/compile-cps.scm: Instead of residualizing
"throw/value+data" throws, exceptions introduced by CPS lowering are
more structured: raise-type-error, raise-range-error, and
raise-arity-error.  Also, lower raise-exception to an ordinary `$throw`
instead of eagerly producing the non-tail call to a $prim.
2023-11-23 10:25:02 +01:00
..
ice-9 Fix pretty-print with a per-line prefix 2023-11-15 09:35:23 +01:00
language CPS conversion does not introduce "throw" 2023-11-23 10:25:02 +01:00
oop goops: Preserve all slot options in redefinable classes. 2021-03-19 21:45:53 +01:00
rnrs Implement R6RS custom textual ports 2023-06-08 10:21:02 +02:00
scheme Update set of decimal zeroes for Unicode 15.1.0 2023-11-02 11:31:32 +01:00
scripts Fix typos throughout codebase. 2023-07-16 22:09:01 +02:00
srfi define-inlinable marks residualized procedure as maybe-unused 2023-08-24 11:43:31 +02:00
sxml Remove unnecessary module imports. 2023-02-24 16:49:00 +01:00
system Add logand/immediate, ulogand/immediate primcalls 2023-11-20 13:43:47 +01:00
texinfo Remove unnecessary module imports. 2023-02-24 16:49:00 +01:00
web Use custom binary output ports for make-chunked-output-port 2023-06-08 09:03:10 +02:00
Makefile.am Rework bootstrap to be reproducible 2022-02-01 14:50:40 +01:00
rnrs.scm Define top-level bindings for aux syntax: else, =>, _, ... 2019-09-12 21:50:51 +02:00
statprof.scm Statprof reports primitive names 2020-06-04 11:46:34 +02:00
texinfo.scm texinfo: Add basic support for @w{...}. 2020-06-18 00:30:30 +02:00