Fork me on GitHub

Playing around with the idea of overriding clojure's error messages with custom messages for child safety and/or text localization. Maybe scanning the clojure source for error messages creating a catalog of them at first, later automatically manipulating the source.


I know it's a lost cause because many errors boil down to Java error messages


But yet, any library that is a good fit to use for scanning clojure code at scale, short of directly rolling my own bare-handed code? I've done similar things for Scala before, so this might actually go some humble distance.


High level motivation case in point: a null pointer exception is not a good error indication for when someone places a non-fn var in call position.


There is actually a university that has a project that has spent a lot of time on custom Clojure messages for beginners