From 01b33d0227704919a343bb8d26049161160daf11 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Wed, 15 Apr 2015 18:07:21 -0400 Subject: [PATCH] Added notes on adding error handling to runtime --- TODO | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/TODO b/TODO index 19a79522..f966a4fc 100644 --- a/TODO +++ b/TODO @@ -3,6 +3,14 @@ Working TODO list: - Fixup Cyc_sum to use varargs and call (error) if anything bad happens. then generalize to - * / - need an error() function that will call (error) from the C runtime useful for, EG, type checking + + notes: + can assume presence of *exception-handler-stack* global, at least for now + move Cyc-current-exception-handler to a runtime function, then can + (I think) rewrite raise to be one as well. Then should be able to call + into a common exception function in runtime that will in turn just + call raise (or just call it directly) + - make *trace-level* a command-line parameter, and by default do not emit scheme code transformations in comments - Reduction in size of generated code is there anything we can do?