shadow-cljs

Lari Saukkonen 2025-02-03T11:27:17.373219Z

Shadow-cljs used to include :source-form in the analysis data. Is there any other easy way to get access to the source form?

thheller 2025-02-03T11:27:40.423089Z

in what context?

thheller 2025-02-03T11:29:39.735209Z

if you want some background one why it was removed see https://github.com/thheller/shadow-cljs/issues/1188

Lari Saukkonen 2025-02-03T12:44:23.830209Z

I was just having fun and did bunch of small stuff like automatic keyword parameter checking and generating accessor-functions from malli-schema backed map. Kind of what SBCL Common Lisp compiler does with keyword parameters and structs/classes. I had a macro that did checking and generating and it relied on seeing the source form and used that data for it. Its nothing crucial, I was mainly wondering if its possible in some other way.