newLISP Fan Club

Forum => So, what can you actually DO with newLISP? => Topic started by: snetxAecurB on September 27, 2022, 03:02:37 AM

Title: invalid function
Post by: snetxAecurB on September 27, 2022, 03:02:37 AM
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
(boing 1)
instead of leading to
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