exception Clip_Error of string
exception Dev_Error of string

(* scanner exceptions *)
exception Illegal_Char of char
exception Illegal_Id of string

(* semantic exceptions *)
exception Invalid_Vector of string
exception Indefined_Id of string
exception Vector_Dim of string * int
exception Invalid_Ind of string
exception Not_Vector of string
exception Make_Vec_Bound of int
exception Wrong_Argu_Len of string
exception Wrong_Argu_Type of string
exception Bind_Wrong_Type of string
exception Eval_Fail of string
exception Not_Function of string
exception Bind_Twice of string
exception Defun_Wrong_Type of string