wanted (invalid-function-event ...)

For the Compleat Fan
Post Reply
mikerudin39
Posts: 2
Joined: Mon Jul 24, 2017 10:15 am

wanted (invalid-function-event ...)

Post by mikerudin39 »

When newlisp meets in code unknown function it writes:
ERR: invalid function : (some-func)
and stops executing.

Would be nice to have something like (invalid-function-event )
to deal with it, (for example to load missed code fragment
from sqlite database or from some site, etc..) ...and continue
executing WITHOUT ERROR. for now we have only (error-event),
but it called when error ALREADY OCCURED, and execucion can not
continue.

For what: it's like reading text in semi-known language. Meeting
unknown word, we refer to vocabulary, find word, understand
it's meaning and keep reading on.

PS: I'm not native english-speaker, so excuse me in advance for
my poor english, but i hope idea is clear enough.

Post Reply