Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
%? was something I proposed on another forum years ago, but more recently tried it out as proof-of-concept when I had the opportunity. (Here are the few dozen lines of code - not C - I used to try it out.)
That's cool but to be truly generic you need to do the most extreme thing possible which is attach GDB to the process and print the variable. That way you can do structs and arrays and stuff. For example: https://github.com/jart/cosmopolitan/blob/master/examples/generalized-automatic-datastructure-printing.c
There are some wacky programmers' fonts out there that do things like this, ostensibly for readability reasons. This font is Fira Code: https://github.com/tonsky/FiraCode