Git Stars Git Stars

#metaprogramming Repositories

Discover 55 active open source GitHub repositories tagged with #metaprogramming, accumulating 119,966 total stars (averaging 2,181 stars per project). Leading this topic is nim-lang/Nim with 18,324 stars.

55
Total Repositories
119,966
Total Stars
2,181
Avg Stars/Repo
1
nim-lang/Nim

Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).

nim-lang
โญ 18,324 Nim ๐Ÿ‘ค nim-lang Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2010-08-16
2
krzysztofzablocki/Sourcery

Meta-programming for Swift, stop writing boilerplate code.

krzysztofzablocki
โญ 8,031 Swift ๐Ÿ‘ค krzysztofzablocki User ๐Ÿ• Updated 2026-10-28 ๐Ÿ“… Created 2016-12-11
3
Neargye/magic_enum

Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code

Neargye
โญ 6,256 C++ ๐Ÿ‘ค Neargye User ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2019-03-30
4
apache/groovy

Apache Groovy: A powerful multi-faceted programming language for the JVM platform

apache
โญ 5,487 Groovy ๐Ÿ‘ค apache Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2015-04-16
5
hylang/hy

A dialect of Lisp that's embedded in Python

hylang
โญ 5,445 Python ๐Ÿ‘ค hylang Organization ๐Ÿ• Updated 2026-11-15 ๐Ÿ“… Created 2012-12-15
6
dtolnay/proc-macro-workshop

Learn to write Rust procedural macrosโ€ƒโ€ƒ[Rust Latam conference, Montevideo Uruguay, March 2019]

dtolnay
โญ 4,877 Rust ๐Ÿ‘ค dtolnay User ๐Ÿ• Updated 2026-11-16 ๐Ÿ“… Created 2019-03-27
7
fluentpython/example-code-2e

Example code for Fluent Python, 2nd edition (O'Reilly 2022)

fluentpython
โญ 4,177 Python ๐Ÿ‘ค fluentpython Organization ๐Ÿ• Updated 2026-06-17 ๐Ÿ“… Created 2019-03-21
8
google/ksp

Kotlin Symbol Processing API

google
โญ 3,484 Kotlin ๐Ÿ‘ค google Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2020-09-22
9
iswbm/magic-python

Python Black Magic Handbook

iswbm
โญ 3,386 Python ๐Ÿ‘ค iswbm User ๐Ÿ• Updated 2026-01-26 ๐Ÿ“… Created 2020-05-10
10
hxu296/tariff

The official repository for tariff

hxu296
โญ 3,124 Python ๐Ÿ‘ค hxu296 User ๐Ÿ• Updated 2025-04-16 ๐Ÿ“… Created 2025-04-10
11
tc39/proposal-decorators

Decorators for ES6 classes

tc39
โญ 2,976 ๐Ÿ‘ค tc39 Organization ๐Ÿ• Updated 2026-06-23 ๐Ÿ“… Created 2017-04-28
12
manifold-systems/manifold

Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.

manifold-systems
โญ 2,765 Java ๐Ÿ‘ค manifold-systems Organization ๐Ÿ• Updated 2026-10-28 ๐Ÿ“… Created 2017-06-07
13
jpsim/SourceKitten

An adorable little framework and command line tool for interacting with SourceKit.

jpsim
โญ 2,429 Swift ๐Ÿ‘ค jpsim User ๐Ÿ• Updated 2026-11-18 ๐Ÿ“… Created 2014-08-17
14
edubart/nelua-lang

Minimal, efficient, statically-typed and meta-programmable systems programming language heavily inspired by Lua, which compiles to C and native code.

edubart
โญ 2,393 Lua ๐Ÿ‘ค edubart User ๐Ÿ• Updated 2025-06-24 ๐Ÿ“… Created 2017-10-28
15
Neargye/nameof

Nameof operator for modern C++, simply obtain the name of a variable, type, function, macro, and enum

Neargye
โญ 2,368 C++ ๐Ÿ‘ค Neargye User ๐Ÿ• Updated 2026-11-17 ๐Ÿ“… Created 2018-03-17
16
GrahamDumpleton/wrapt

A Python module for decorators, wrappers and monkey patching.

GrahamDumpleton
โญ 2,318 Python ๐Ÿ‘ค GrahamDumpleton User ๐Ÿ• Updated 2026-11-08 ๐Ÿ“… Created 2013-05-29
17
rubberduck-vba/Rubberduck

Every programmer needs a rubberduck. COM add-in for the VBA & VB6 IDE (VBE).

rubberduck-vba
โญ 2,104 C# ๐Ÿ‘ค rubberduck-vba Organization ๐Ÿ• Updated 2025-06-25 ๐Ÿ“… Created 2014-10-27
18
munich-data-engineering/reflect-cpp

A C++20 library for fast serialization, deserialization and validation using reflection. Supports JSON, Avro, Boost Serialization, BSON, Cap'n Proto, CBOR, Cereal, Command line interfaces, CSV, Environment variables, flexbuffers, msgpack, parquet, TOML, UBJSON, XML, YAML, yas / msgpack.org[C++20]

munich-data-engineering
โญ 1,972 C++ ๐Ÿ‘ค munich-data-engineering Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2023-09-27
19
dotnet/dotNext

Next generation API for .NET

dotnet
โญ 1,967 C# ๐Ÿ‘ค dotnet Organization ๐Ÿ• Updated 2026-11-18 ๐Ÿ“… Created 2018-12-14
20
INRIA/spoon

Spoon is a metaprogramming library to analyze and transform Java source code. :spoon: is made with :heart:, :beers: and :sparkles:. It parses source files to build a well-designed AST with powerful analysis and transformation API.

INRIA
โญ 1,963 Java ๐Ÿ‘ค INRIA Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2013-11-06
21
google/fruit

Fruit, a dependency injection framework for C++

google
โญ 1,891 C++ ๐Ÿ‘ค google Organization ๐Ÿ• Updated 2026-04-12 ๐Ÿ“… Created 2014-06-16
22
boostorg/hana

Your standard library for metaprogramming

boostorg
โญ 1,851 C++ ๐Ÿ‘ค boostorg Organization ๐Ÿ• Updated 2026-11-11 ๐Ÿ“… Created 2014-05-17
23
bnjbvr/rouille

Rust programming, in French.

bnjbvr
โญ 1,776 Rust ๐Ÿ‘ค bnjbvr User ๐Ÿ• Updated 2025-11-06 ๐Ÿ“… Created 2021-09-09
24
dtolnay/watt

Runtime for executing procedural macros as WebAssembly

dtolnay
โญ 1,537 Rust ๐Ÿ‘ค dtolnay User ๐Ÿ• Updated 2026-07-19 ๐Ÿ“… Created 2019-10-13
25
hirrolot/datatype99

Algebraic data types for C99

hirrolot
โญ 1,497 C ๐Ÿ‘ค hirrolot User ๐Ÿ• Updated 2025-03-17 ๐Ÿ“… Created 2020-11-12
26
boost-ext/sml

C++14 State Machine library

boost-ext
โญ 1,418 C++ ๐Ÿ‘ค boost-ext Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2015-12-05
27
shinh/elvm

EsoLangVM Compiler Infrastructure

shinh
โญ 1,270 C ๐Ÿ‘ค shinh User ๐Ÿ• Updated 2026-06-23 ๐Ÿ“… Created 2016-09-16
28
scalalandio/chimney

Scala library for boilerplate-free, type-safe data transformations

scalalandio
โญ 1,257 Scala ๐Ÿ‘ค scalalandio Organization ๐Ÿ• Updated 2026-11-19 ๐Ÿ“… Created 2017-05-23
29
scalameta/scalameta

Library to read, analyze, transform and generate Scala programs

scalameta
โญ 1,160 Scala ๐Ÿ‘ค scalameta Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2014-06-16
30
hirrolot/metalang99

Full-blown preprocessor metaprogramming

hirrolot
โญ 1,090 C ๐Ÿ‘ค hirrolot User ๐Ÿ• Updated 2025-10-05 ๐Ÿ“… Created 2020-09-18
31
ac3ss0r/obfusheader.h

Obfusheader.h is a portable header file for C++14 compile-time obfuscation.

ac3ss0r
โญ 1,071 C++ ๐Ÿ‘ค ac3ss0r User ๐Ÿ• Updated 2026-10-13 ๐Ÿ“… Created 2023-11-20
32
avdi/naught

A toolkit for building Null Object classes in Ruby

avdi
โญ 1,059 Ruby ๐Ÿ‘ค avdi User ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2013-05-26
33
tomhrr/dale

Lisp-flavoured C

tomhrr
โญ 1,044 C++ ๐Ÿ‘ค tomhrr User ๐Ÿ• Updated 2025-04-20 ๐Ÿ“… Created 2013-05-24
34
enriclluelles/route_translator

Translate your rails app route to various languages without the hassle

enriclluelles
โญ 952 Ruby ๐Ÿ‘ค enriclluelles User ๐Ÿ• Updated 2026-09-29 ๐Ÿ“… Created 2012-07-10
โญ 948 Rust ๐Ÿ‘ค dtolnay User ๐Ÿ• Updated 2026-11-16 ๐Ÿ“… Created 2017-05-20
36
mrakgr/The-Spiral-Language

Functional language with intensional polymorphism and first-class staging.

mrakgr
โญ 947 Python ๐Ÿ‘ค mrakgr User ๐Ÿ• Updated 2026-06-30 ๐Ÿ“… Created 2017-11-18
37
Ivo-Balbaert/The_Way_to_Jai

A gradual guide to discover and learn the Jai programming language

Ivo-Balbaert
โญ 916 Jai ๐Ÿ‘ค Ivo-Balbaert User ๐Ÿ• Updated 2026-06-11 ๐Ÿ“… Created 2022-08-18
โญ 902 Python ๐Ÿ‘ค micheles User ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2013-11-24
39
scalacenter/scalafix

Refactoring and linting tool for Scala

scalacenter
โญ 878 Scala ๐Ÿ‘ค scalacenter Organization ๐Ÿ• Updated 2026-11-16 ๐Ÿ“… Created 2016-08-08
40
berkerpeksag/astor

Python AST read/write

berkerpeksag
โญ 865 Python ๐Ÿ‘ค berkerpeksag User ๐Ÿ• Updated 2026-02-17 ๐Ÿ“… Created 2012-09-19
41
dabeaz/sly

Sly Lex Yacc

dabeaz
โญ 861 Python ๐Ÿ‘ค dabeaz User ๐Ÿ• Updated 2024-06-05 ๐Ÿ“… Created 2016-09-02
42
urweb/urweb

The Ur/Web programming language

urweb
โญ 833 Standard ML ๐Ÿ‘ค urweb Organization ๐Ÿ• Updated 2024-05-28 ๐Ÿ“… Created 2015-12-20
43
foam-framework/foam

Feature-Oriented Active Modeller

foam-framework
โญ 783 JavaScript ๐Ÿ‘ค foam-framework Organization ๐Ÿ• Updated 2025-09-09 ๐Ÿ“… Created 2014-05-01
44
SwiftyLab/MetaCodable

Supercharge Swift's Codable implementations with macros meta-programming.

SwiftyLab
โญ 777 Swift ๐Ÿ‘ค SwiftyLab Organization ๐Ÿ• Updated 2026-11-01 ๐Ÿ“… Created 2023-06-17
45
lord63/awesome-python-decorator

A curated list of awesome python decorator resources.

lord63
โญ 768 ๐Ÿ‘ค lord63 User ๐Ÿ• Updated 2026-03-21 ๐Ÿ“… Created 2016-02-25
46
phantomics/april

The APL programming language (a subset thereof) compiling to Common Lisp.

phantomics
โญ 668 Common Lisp ๐Ÿ‘ค phantomics User ๐Ÿ• Updated 2026-05-29 ๐Ÿ“… Created 2017-12-22
47
JadyXuan/NTTS

NO TIME TO SLEEP

JadyXuan
โญ 646 Python ๐Ÿ‘ค JadyXuan User ๐Ÿ• Updated 2024-05-26 ๐Ÿ“… Created 2024-05-14
48
racket/rhombus

Rhombus programming language

racket
โญ 618 Racket ๐Ÿ‘ค racket Organization ๐Ÿ• Updated 2026-11-19 ๐Ÿ“… Created 2019-07-14
49
matslina/awib

a brainfuck compiler written in brainfuck

matslina
โญ 598 Brainfuck ๐Ÿ‘ค matslina User ๐Ÿ• Updated 2025-02-16 ๐Ÿ“… Created 2013-10-31
50
MetaRocq/metarocq

Metaprogramming, verified meta-theory and implementation of Rocq in Rocq

MetaRocq
โญ 571 Rocq Prover ๐Ÿ‘ค MetaRocq Organization ๐Ÿ• Updated 2026-11-18 ๐Ÿ“… Created 2017-10-19

Frequently Asked Questions

1

What is the most popular #metaprogramming repository on GitHub?

The top ranked open source #metaprogramming project on GitHub is nim-lang/Nim with 18,324 stars. Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).

2

Which programming languages are most used in #metaprogramming repositories?

Among the top ranked #metaprogramming projects on GitHub, the most common programming languages are Python, C++, Rust, Swift.

3

How is the #metaprogramming repository ranking calculated?

We track 55 active open source repositories tagged with #metaprogramming (500+ stars), totaling 119,966 stars with an average of 2,181 stars per repository. Rankings update daily from the GitHub API.