5 ms·
Does anyone know if it is possible to integrate such a system, as plugin, in clojure? Is there already a project like that?
by lukashrb 6y ago
Does anyone know if it is possible to integrate such a system, as plugin, in clojure? Is there already a project like that?
- phoe-krk 6y agoI haven't explored Clojure. If it allows one to customize the means in which errors are signaled (read: force the language to not immediately throw a Java exception on an error, and instead execute some code), then one should be able to implement both signaling and a debugger. It might not be easy to tell Clojure or the JVM to not be trigger happy with throwing exceptions and therefore destroying the stack. Perhaps one will find a way through!
- divs1210 6y agoYes, there are multiple libraries, for example: https://github.com/clojureman/special https://github.com/clojureman/special
- phoe-krk 6y agoThank you! I will include this in the book. How should I credit you?
- divs1210 6y agoI am Divyansh Prakash - github.com/divs1210 The credit goes to the author of that library, though. :) All the best for your book!
- phoe-krk 6y agoThanks. It was you who directed me towards this implementation and made it possible for me to mention it in the book, though, so I only consider it fair if I also add you to the book's Hall of Fame.