cmacro
lisp-preprocessor
cmacro | lisp-preprocessor | |
---|---|---|
4 | 2 | |
876 | 16 | |
- | - | |
4.9 | 1.8 | |
3 months ago | almost 4 years ago | |
Common Lisp | Common Lisp | |
- | MIT License |
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.
cmacro
- Advanced Metaprogramming in C: A select statement
- Cmacro: Lisp Macros for C
-
Syntatic Sugar that compiles to C
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.
-
Show HN: C programming language extension: Cedro pre-processor
To implement something like linear types[1] in C, such that each instance of type_t must be used once and only once. But I imagine this would require too much integration with the type system and code analysis.
I wish binary inclusion was provided by more languages or build systems. For small files it's a very suitable alternative to the difficulties of packaging resources when distributing an application or library.
[0]: https://github.com/eudoxia0/cmacro
[1]: https://en.wikipedia.org/wiki/Substructural_type_system#Line...
lisp-preprocessor
-
Syntatic Sugar that compiles to C
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.
-
Avium - A library trying to make object-oriented programming in C easier.
Looks good. I'm not sure that a union is the way to go. When I've thought about creating something like this in the past I've mostly considered it from the angle of starting with a different preprocessor, such as https://github.com/cxxxr/lisp-preprocessor, and using it to generate iterator interfaces and the like.
What are some alternatives?
ltools - LTools are a set of free, open-source productivity command-line tools (drawing inspiration from Unix commands and philosophy).
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
elpp - --- IN ATTIC BECAUSE: no feature
datatype99 - Algebraic data types for C99
cargo-expand - Subcommand to show result of macro expansion
cinje - A Pythonic and ultra fast template engine DSL.
C-headers
MyDef - Programming in the next paradigm -- your way
c-mera - Next-level syntax for C-like languages :)
langs