Ah yeah, I guess most of them are for printing diagnostic output, like PLT_LINKLET_SHOW
and friends. I may have mentally bucketed the CS Compilation Modes as controlling "optimisation", but after looking again, those are mainly selecting e.g. interpreter vs. machine code and such.
Are there other optimisation settings that would be interesting to try?
Even if they aren't really about optimisation, it may still be convenient to wire up the PLT_*
flags on Compiler Explorer, as there's a button to show the output the toolchain printed during compilation. This could be used as a cheap way of viewing things like the PLT_LINKLET_SHOW
output until a more polished UI is added.
Thanks for these hints! It helps to have confirmation that my (very rough) understanding of Racket's debug info handling was mostly correct.
My ongoing research is focused on reliable debug info, and I think it could be quite fun to add some level of debug info support to Racket, so I'll keep exploring what's possible here. I'd really like to try aiming for stronger guarantees of debug info correctness than you typically get with other toolchains, but perhaps I should start with making a basic version work first.