[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] Trapping Scheme-level errors
From: |
John Cowan |
Subject: |
[Chicken-users] Trapping Scheme-level errors |
Date: |
Sun, 26 Mar 2006 00:24:12 -0500 |
User-agent: |
Mutt/1.3.28i |
I'm using Chicken 2.3 under Cygwin to develop an interpreter for a
non-Scheme language with its own REPL. I would like to trap Scheme
errors, such as "attempt to take the car of ()", and continue the
non-Scheme REPL instead of Scheme's. This will be particularly
important in the compiled version of the interpreter.
What's the right way to do that? Defining "error-handler" doesn't
seem to do anything either in interpreted or compiled code.
--
John Cowan <address@hidden> http://www.ap.org
But no living man am I! You look upon a woman. Eowyn I am, Eomund's daughter.
You stand between me and my lord and kin. Begone, if you be not deathless.
For living or dark undead, I will smite you if you touch him.
- [Chicken-users] Trapping Scheme-level errors,
John Cowan <=