Cnx
A Proof-of-Concept for a Modern Standard Library for GNU C 11+ (by braxtons12)
poica
🧮 A research programming language on top of C macros (by Hirrolot)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Cnx
Posts with mentions or reviews of Cnx.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-02.
- Convinient solutions for working with strings
-
Conditional preprocessor macro, anyone?
The biggest obstacles to make some form of functional programming (think more like Rust than Haskell) possible are __VA_OPT__, auto, lambdas, and defer. IIRC the first two are coming in C23. The last two might make it into the next standard after that, but unlikely to make 23. If you're willing to limit yourself to GNU C (so compiling with GCC or Clang, or maybe ICC) you can get pretty close already today. (shameless self plug) My project Cnx (https://github.com/braxtons12/Cnx) attempts to bring a more modern approach to the language, and a big chunk of the features it implements are functional in nature.
poica
Posts with mentions or reviews of poica.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-02-04.
-
datatype99: C99 with sum types, v0.1.0
I'll try it at work soon. Sounds so good because I've spent for about a year to make it look as now, see https://github.com/Hirrolot/poica (my previous experiment).
Can you provide examples of general recursion and partial application in Boost/PP? When I was working on poica, it was a real pain to catch macro blueprinting with Boost/PP as well as capture an environment for macros (higher-order Boost/PP functions always accept an additional argument that is passed to functions; it needs to be unpacked further and so on).
What are some alternatives?
When comparing Cnx and poica you can also consider the following projects:
bfcpp - Optimizing Brainfuck interpreter in the C preprocessor
data_desk - New version "Metadesk" at https://github.com/Dion-Systems/metadesk
ManagedC - Reference counter for C
datatype99 - Algebraic data types for C99
moonlight-common-c - Core implementation of Nvidia's GameStream protocol
metalang99 - Full-blown preprocessor metaprogramming
awesome-c-preprocessor - A list of awesome C preprocessor stuff
derive4j - Java 8 annotation processor and framework for deriving algebraic data types constructors, pattern-matching, folds, optics and typeclasses.
adt - Algebraic data types for Python (experimental, not actively maintained)
cp437.h - Header only codepage 437 unicode lookup table.