order-pp
order-pp preprocessor library (standalone part of chaos-pp) (by rofl0r)
hare-color
Color package for Hare (harelang.org) (by tristanisham)
order-pp | hare-color | |
---|---|---|
5 | 1 | |
102 | 3 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | almost 2 years ago | |
C | ||
Boost Software License 1.0 | MIT License |
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.
order-pp
Posts with mentions or reviews of order-pp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-25.
- Announcing the Hare programming language
-
No Us Without You: elifdef and elifndef
Looping is already totally doable, up to a finite maximum number of iterations. Local variables and the like can be simulated through suitably clever preprocessor definitions and logic, too. The syntax and trickery you need to take advantage of it is thoroughly, thoroughly unpleasant though.
For anyone curious about the practicality of that sort of thing, A CPS macro continuation machine like https://github.com/rofl0r/order-pp/blob/master/inc/order/cm.... would give you about 18 quintillion loop iterations if my math was right; double the length of that file and you’d have more loop iterations than atoms in the universe.
-
Have constexpr string mixins been proposed?
Macros can already accomplish this and more quite handily, using order-pp for example:
-
datatype99: C99 with sum types, v0.1.0
Here is an example of the power of order: https://github.com/rofl0r/order-pp/blob/master/example/fibonacci.c
hare-color
Posts with mentions or reviews of hare-color.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-25.
-
Announcing the Hare programming language
A big part of any new language taking off is a rich ecosystem. If you're looking for a lib to color your terminal output, consider mine? [0]
0. https://github.com/tristanisham/color
What are some alternatives?
When comparing order-pp and hare-color you can also consider the following projects:
awesome-c-preprocessor - A list of awesome C preprocessor stuff
http_server - Pony library for building HTTP server applications.
zig_comptime_lisp
datatype99 - Algebraic data types for C99
CSP - Compile-time LISP interpreter on C macro preprocessor