1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 04:10:18 +02:00
guile/module/language/tree-il
Andy Wingo 8fc43b12c7 prompt, abort -> call-with-prompt, abort-to-prompt
* module/ice-9/boot-9.scm (default-prompt-tag, make-prompt-tag): New
  functions.
  (call-with-prompt, abort-to-prompt): Rename from `prompt' and `abort',
  respectively. These names are more clear, and allow `prompt' and
  `abort' to have more convenient, less general bindings.
  (default-throw-handler, custom-throw-handler, catch, %start-stack):
  Adapt callers.

* module/ice-9/control.scm: Adapt re-export list.
  (control): Remove binding, until we're sure that it is Sitaram's
  control.
  (abort): New binding, aborts to the nearest prompt with the default
  tag.
  (%): Use call-with-prompt.

* module/language/tree-il/primitives.scm (*primitive-expand-table*):
  (*interesting-primitive-names*): Adapt for prompt/abort changes.

* test-suite/tests/control.test: Take advantage of the defaults for %
  and abort.
2010-03-09 22:24:25 +01:00
..
analyze.scm abort always dispatches to VM bytecode, to detect same-invocation aborts 2010-02-22 21:54:06 +01:00
compile-glil.scm some with-fluid* -> with-fluids 2010-03-04 16:51:13 +01:00
fix-letrec.scm rename <conditional> then and else to consequent and alternate 2009-12-11 12:00:27 +01:00
inline.scm ensure non-escape-only prompts have a thunk application as their body 2010-02-24 00:32:07 +01:00
optimize.scm compilation enviroments are always modules; simplifications & refactorings 2009-10-16 15:33:32 +02:00
primitives.scm prompt, abort -> call-with-prompt, abort-to-prompt 2010-03-09 22:24:25 +01:00
spec.scm fix brainfuck for new tree-il, and add tests 2009-10-23 15:10:25 +02:00