Preprocessor

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.

  • Project mention: Ask HN: What Underrated Open Source Project Deserves More Recognition? | news.ycombinator.com | 2024-03-07

    ImHex

    “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

  • stylus

    Expressive, robust, feature-rich CSS language built for nodejs

  • Project mention: Future of CSS: Functions and Mixins | dev.to | 2024-02-15

    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.

  • 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.

    InfluxDB logo
  • suit

    Style tools for UI components

  • reshade

    A generic post-processing injector for games and video software.

  • Project mention: Jagged edges on everything, regardless of AA settings | /r/EliteDangerous | 2023-12-11

    If 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.

  • 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.

  • Project mention: Show HN: Ditch your ORM with type-safe native SQL | news.ycombinator.com | 2024-04-09
  • stylis

    light – weight css preprocessor

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • Cloak

    A mini-preprocessor library to demostrate the recursive capabilites of the preprocessor (by pfultz2)

  • Project mention: Object-oriented Programming with ANSI-C [pdf] | news.ycombinator.com | 2023-06-21

    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?

  • vim-colortemplate

    The Toolkit for Vim Color Scheme Designers!

  • Project mention: The default colorschemes.... | /r/neovim | 2023-05-06

    Neovim uses the Vim colorschemes, which themselves seem to have undergone some improvement thanks to being updated using this tool called vim-colortemplate.

  • 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)

  • cparser

    C99 parser and frontend for libfirm

  • Project mention: Compiling History: A brief tour of C compilers | news.ycombinator.com | 2024-02-14

    > 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

  • ts-c-compiler

    ⚙️ Multipass C Compiler, Assembler and X86 emulator written in TypeScript

  • Project mention: Ts-C-compiler: Multipass C Compiler, Assembler and x86 emulator in TypeScript | news.ycombinator.com | 2024-02-19
  • nymph

    🧚 A slightly different version of C.

  • Project mention: Nymph : A slightly different version of C | /r/coolgithubprojects | 2023-07-19
  • fypp

    Python powered Fortran preprocessor

  • Project mention: Faer-rs: Linear algebra foundation for the Rust programming language | news.ycombinator.com | 2024-04-24

    most of it's just general programming niceness. If you have to spend a few hours to wrestle with make/bazel/etc every time you need to reach for a dependency, you don't depend on things and have to rewrite them yourself. If your programming language doesn't have good ways of writing generic code, you either have to write the code once per precision (and do all your bugfixes/perf improvements in triplicate) or do very hacky metaprogramming where you use Python to generate your low level code (yes the Fortran people actually do this https://github.com/aradi/fypp), or use the C preprocesser which is even worse.

  • xcc

    Toy C compiler for x86-64/aarch64/riscv64/wasm

  • ecsharp

    Home of LoycCore, the LES language of Loyc trees, the Enhanced C# parser, the LeMP macro preprocessor, and the LLLPG parser generator.

  • Stylecow

    Modern CSS to all browsers

  • pypreprocessor

    A c-style macro preprocessor written in Python

  • lit

    a little preprocessor for literate programming (by vijithassar)

  • Project mention: Literate Programming: Articles | news.ycombinator.com | 2023-05-18

    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.

  • c-iterators

    :books: A demonstration of implementing a "type-safe" lazy iterator interface in pure C99

  • enableIf.scala

    A library that toggles Scala code at compile-time, like #if in C/C++

  • svelte-reactive-css-preprocess

    Automatically update your styles when a svelte variable changes.

  • denosass

    DenoSass is a complete nearly fully featured Sass compiler for Deno and Browser

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Preprocessor related posts

  • Compiling History: A brief tour of C compilers

    1 project | news.ycombinator.com | 14 Feb 2024
  • Object-oriented Programming with ANSI-C [pdf]

    5 projects | news.ycombinator.com | 21 Jun 2023
  • Plain C API design, the real world Kobayashi Maru test

    3 projects | news.ycombinator.com | 16 Apr 2023
  • Website Meta Language is an offline HTML preprocessor, dating back to the 1990s

    1 project | news.ycombinator.com | 26 Jan 2023
  • Is there any in-built function to convert HEX colors to XTerm colors?

    2 projects | /r/vim | 8 Jan 2023
  • Is there a way to shorten .contactform h2,… and to say something like .contactform (h2, ul, label)?

    3 projects | /r/webdev | 9 Nov 2022
  • Mengenal macam - macam Metodologi penulisan CSS - Part 2

    2 projects | dev.to | 3 Nov 2022
  • A note from our sponsor - SaaSHub
    www.saashub.com | 5 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Preprocessor projects? This list will help you:

Project Stars
1 ImHex 33,019
2 stylus 11,170
3 suit 3,799
4 reshade 3,799
5 DocPad 3,054
6 manifold 2,226
7 stylis 1,703
8 Cloak 889
9 vim-colortemplate 871
10 Surelog 330
11 cparser 318
12 ts-c-compiler 315
13 nymph 180
14 fypp 178
15 xcc 179
16 ecsharp 169
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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com