Our great sponsors
-
zig
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
-
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.
But it is not significantly higher level. Your list of features are rather more than syntactic sugar, and belong a level or two above. Mine only ticks 3 of your boxes, and doesn't compile to C. (Syntax examples.)
According to Wikipedia, for Zig "A major goal of the language is to improve upon the C language". However it does not compile to C (it's using LLVM currently) so this is not a good answer to your question, but there might be parts of its design that you find interesting.
OP, you might find datatype99 and its sibling projects interesting, though they mostly leverage the C preprocessor without going all the way towards defining a new language.
even more interesting are the handful of projects layering lisp style macros on top of C. i've seen several go by over the years; a quick google search brought up c-mera and cmacro.
even more interesting are the handful of projects layering lisp style macros on top of C. i've seen several go by over the years; a quick google search brought up c-mera and cmacro.
Can't share details of my own work but you can check out projects like https://github.com/cxxxr/lisp-preprocessor, that's what got my attention in this direction.