3 ms·
It's possible to analyze programs to find out what exceptions can be delivered to a particular point in the program. As an example, here is such an analyzer fo
by rwmj 17y ago
It's possible to analyze programs to find out what exceptions can be delivered to a particular point in the program. As an example, here is such an analyzer for OCaml code:
http://caml.inria.fr/pub/old_caml_site/ocamlexc/ocamlexc.htm http://caml.inria.fr/pub/old_caml_site/ocamlexc/ocamlexc.htm
"Ocamlexc is a framework designed to statically analyze Objective Caml programs in order to discover potentially raised and uncaught exceptions. Such exceptions are harmful because they cause the immediate end of the running program. This tool can hence be seen as a static debugging tools, adding more safety to the already powerful static and strong typing system that makes ML programs so robust."