Post AR6twm2PestkZ5WOye by [email protected] | |
More posts by [email protected] | |
Post #AR6sKTGuskHLP9Tffc by [email protected] | |
0 likes, 0 repeats | |
I'm generating C code from python (for reasons), and a useful trick is to p… | |
Post #AR6sRXfsuYVF5QWnOi by [email protected] | |
0 likes, 0 repeats | |
It's pretty easy to do:from inspect import currentframedef get_linenumber()… | |
Post #AR6ts7oHHcT0dqh2xc by [email protected] | |
0 likes, 0 repeats | |
@encthenet That's what cpp does, isn't it? | |
Post #AR6ttDRxnb1QQKmBcW by [email protected] | |
0 likes, 0 repeats | |
@brass75 I still have somewhere an awk script that generates C code that genera… | |
Post #AR6twm2PestkZ5WOye by [email protected] | |
0 likes, 0 repeats | |
@arensb Yep, verified format by writing a simple #include <stdint.h> prog… | |
Post #AR6uEzf5kBfa1zIjVg by [email protected] | |
0 likes, 0 repeats | |
@encthenet Yeah, I'm pretty sure that bit of functionality was originally i… |