Page 1 of 1

invalid function

Posted: Tue Sep 27, 2022 10:02 am
by snetxAecurB
It's been about 12 years since I last did anything constructive with newLISP. I'm glad to see it's still alive and kicking.

Regarding catching invalid functions, is it possible in newLISP to write a handler for unknown functions in the same way that some other languages do, so that

Code: Select all

(boing 1)
instead of leading to

Code: Select all

ERR: invalid function : (boing 1)
being displayed, passes control into a routine which may then attempt to decode the function name.

The context for this is writing a DSL.

-- Bruce