The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 23 Preprocessor Open-Source Projects
-
ImHex
🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.
-
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.
-
DocPad
Empower your website frontends with layouts, meta-data, pre-processors (markdown, jade, coffeescript, etc.), partials, skeletons, file watching, querying, and an amazing plugin system. DocPad will streamline your web development process allowing you to craft powerful static sites quicker than ever before.
-
manifold
Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Cloak
A mini-preprocessor library to demostrate the recursive capabilites of the preprocessor (by pfultz2)
-
Surelog
SystemVerilog 2017 Pre-processor, Parser, Elaborator, UHDM Compiler. Provides IEEE Design/TB C/C++ VPI and Python AST & UHDM APIs. Compiles on Linux gcc, Windows msys2-gcc & msvc, OsX (by chipsalliance)
-
ecsharp
Home of LoycCore, the LES language of Loyc trees, the Enhanced C# parser, the LeMP macro preprocessor, and the LLLPG parser generator.
-
c-iterators
:books: A demonstration of implementing a "type-safe" lazy iterator interface in pure C99
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: Ask HN: What Underrated Open Source Project Deserves More Recognition? | news.ycombinator.com | 2024-03-07ImHex
“A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.”
I actually used it not too long ago to inspect why a mp4 file wasn’t valid. The pattern language that they have is quite nice and having sections of the hex highlighted and being able to see what structures they represent and what data was on those structures was very useful!
https://github.com/WerWolv/ImHex
Traditionally CSS lacked features such as variables, nesting, mixins, and functions. This was frustrating for Developers as it often led to CSS quickly becoming complex and cumbersome. In an attempt to make code easier and less repetitive CSS pre-processors were born. You would write CSS in the format the pre-processor understood and, at build time, you'd have some nice CSS. The most common pre-processors these days are Sass, Less, and Stylus. Any examples I give going forward will be about Sass as that's what I'm most familiar with.
Project mention: Jagged edges on everything, regardless of AA settings | /r/EliteDangerous | 2023-12-11If you are interested in making it look even better, then installing ReShade and adding FSAA there also makes a huge improvement over the best settings in game.
Project mention: Show HN: Ditch your ORM with type-safe native SQL | news.ycombinator.com | 2024-04-09
Where cloak.h is https://github.com/pfultz2/Cloak/blob/master/cloak.h
The above macros are admitttedly very hairy. If C had a better preprocessor, but was otherwise unchanged, they could look a lot nicer.
> I never said such a thing. Would appreciate if you didn't put words in my mouth.
A normal part of dialogue is, "I'm going to repeat your point back to you in my own words, and you can either agree with my restating of it, or point out at which point I've misunderstood you". That's what I was doing. "Would appreciate if you didn't put words in my mouth" is unnecessary hostility.
> In my concrete example, given that FILE and DIR were classified as objects, to which of the so-called objects does F(const char*, FILE, DIR) belong?
Take any language which you agree is "OO". Add one new feature (if it isn't already there): functions/methods which don't belong to any class/object. Now the function you are talking about is possible in that language. Did the language thereby suddenly cease to be OO when we added that feature? Most people would disagree with "Yes". But if "No", what is the actual difference between C and that language?
Neovim uses the Vim colorschemes, which themselves seem to have undergone some improvement thanks to being updated using this tool called vim-colortemplate.
> QBE is a new optimizing backend much simpler than LLVM; cproc and cparser are two of the C compilers that target it, in addition to its own minic.
I thought cparser targeted libFirm. That's what their GitHub page says [0].
"It acts as a frontend to the libFirm intermediate representation library."
> We really need a production quality open source C compiler that is actually written in C.
I honestly think cproc or cparser are almost there already. For cproc, you just need to improve the quality of code optimization; it's really QBE you'd need to change. For example, you could change unnecessary multiplications by powers of 2 into left shifts, improve instruction selection so that subtraction is always something like "sub rax, rdi" and not "neg rdi / add rax, rdi" [1]).
For cparser, I notice slightly higher quality codegen; libFirm just needs more architecture support (e.g. AMD64 support appears to work for me, but it's labeled as experimental).
[0]: https://github.com/libfirm/cparser
[1]: I'm pretty sure this is the line of code that generates it, too: https://c9x.me/git/qbe.git/tree/amd64/emit.c#n418
Project mention: Ts-C-compiler: Multipass C Compiler, Assembler and x86 emulator in TypeScript | news.ycombinator.com | 2024-02-19
There are tools to do exactly that, like a simple bash scripts lit.sh: https://github.com/vijithassar/lit
I've heard it referred to as 'semi-literate programming' because it skips the reorganization functionality and just gives you nice prose to code conversion.
Preprocessor related posts
- Compiling History: A brief tour of C compilers
- Object-oriented Programming with ANSI-C [pdf]
- Plain C API design, the real world Kobayashi Maru test
- Website Meta Language is an offline HTML preprocessor, dating back to the 1990s
- Is there any in-built function to convert HEX colors to XTerm colors?
- Is there a way to shorten .contactform h2,… and to say something like .contactform (h2, ul, label)?
- Mengenal macam - macam Metodologi penulisan CSS - Part 2
-
A note from our sponsor - WorkOS
workos.com | 25 Apr 2024
Index
What are some of the best open-source Preprocessor projects? This list will help you:
Project | Stars | |
---|---|---|
1 | ImHex | 32,832 |
2 | stylus | 11,171 |
3 | suit | 3,799 |
4 | reshade | 3,786 |
5 | DocPad | 3,051 |
6 | manifold | 2,209 |
7 | stylis | 1,698 |
8 | Cloak | 889 |
9 | vim-colortemplate | 870 |
10 | Surelog | 329 |
11 | cparser | 318 |
12 | ts-c-compiler | 310 |
13 | nymph | 180 |
14 | fypp | 178 |
15 | xcc | 168 |
16 | ecsharp | 168 |
17 | Stylecow | 163 |
18 | pypreprocessor | 141 |
19 | lit | 116 |
20 | c-iterators | 90 |
21 | enableIf.scala | 64 |
22 | svelte-reactive-css-preprocess | 63 |
23 | denosass | 44 |
Sponsored