Hi guys,
is it possible to ignore errors when evaluating a badly formed expression?
Take as an example this:
(let ((cs (string->list "display")))
(let l ((cs (cdr cs)) (s (car cs)))
(primitive-eval `(begin
(,(list->symbol s) "aha")
(newline)))
(if (not (null? cs))
(l cs s))))
I would like to ignore all the errors while evaluating `(d "aha")', `(di
"aha")', `(dis "aha")' etc.
and evaluate only `(display "aha")'.
What I want is to construct some (possibly incorrect) expressions on the
fly and evaluate them.
Best regards,
Alexandru Cojocaru