Hacker GitHub

← All repos

hirrolot/metalang99

View on GitHub ↗ ★ 1,092 C

Full-blown preprocessor metaprogramming

17 mentions on Hacker News by 10 people: 7 stories, 10 comments · first 2021-02-04 · latest 2025-11-06

Mentions per year 17 mentions · busiest year 2021 (9)
20082026
  1. …so obtuse to use and requires insane hacks so almost nobody does. See one of my favorite projects https://github.com/hirrolot/metalang99
  2. ▲ 5
    Metalang99: A rich functional language implemented in C99 preprocessor
    story by PaulHoule · 2025-11-05 · 0 comments
  3. ▲ 9
    Writing reliable and maintainable metaprograms in pure C99
    story by beckford · 2025-10-25 · 1 comment
  4. ▲ 3
    Metalang99: Full-Blown Preprocessor Metaprogramming
    story by xelxebar · 2024-09-30 · 0 comments
  5. …And there is always the Reflection TS [3], which may or may not be incorporated to C++26... [1] https://github.com/Hirrolot/metalang99 [2] https://hirrolot.github.io/posts/pretty-printable-enumeratio... [3]…
    comment by lifthrasiir · 2023-09-30 · in How to convert an enum to string in C++
  6. …recursion, etc. It's not Turing-complete though, as the C preprocessor is not Turing-complete. [1] https://github.com/Hirrolot/metalang99
    comment by Hirrolot · 2023-07-09 · in The Development of the C Language (1993)
  7. …potential solutions wouldn't work: 1. Remove templates entirely: Still would be possible using https://github.com/Hirrolot/metalang99 which solely uses the preprocessor. Given that the pre-processor is literally just term substitution(a…
    comment by jacoblambda · 2022-11-22 · in Inside boost::unordered_flat_map
  8. https://github.com/Hirrolot/metalang99
    comment by sargstuff · 2022-10-06 · in What does the ??!??! operator do in C?
  9. ▲ 85
    A λ-calculus interpreter written in C preprocessor macros
    story by Hirrolot · 2021-10-17 · 9 comments
  10. …code in separate files, IDE support is lacking, sophisticating a build procedure, etc etc. [1]: https://github.com/Hirrolot/metalang99#q-why-not-third-party...
  11. …/github.com/Hirrolot/datatype99#semantics [2]: https://github.com/Hirrolot/interface99#semantics [3]: https://github.com/Hirrolot/metalang99#q-why-not-third-party...
  12. …checked the generated assembly code, it was nearly of the same size as hand-written code [2]. [1]: https://github.com/Hirrolot/metalang99#q-why-not-third-party... [2]: https://godbolt.org/z/ns6Ma7csd
  13. ▲ 2
    Metalang99: Full-blown preprocessor metaprogramming for pure C
    story by Hirrolot · 2021-03-27 · 0 comments
  14. ▲ 2
    Metalang99: A functional language for C99 preprocessor metaprogramming
    story by hirrolot · 2021-02-05 · 1 comment
  15. Yes, as others have already noticed, it is implemented on top of https://github.com/Hirrolot/epilepsy , a metalanguage for preprocessor metaprogramming.
    comment by Hirrolot · 2021-02-04 · in Datatype99: C99 with Sum Types, v0.1.0
  16. https://github.com/Hirrolot/epilepsy According to the GitHub, which appears to be a metaprogramming library by the same author.
    comment by willxinc · 2021-02-04 · in Datatype99: C99 with Sum Types, v0.1.0
  17. ▲ 4
    Epilepsy: A functional language for C preprocessor metaprogramming, v0.1.0
    story by Hirrolot · 2021-02-04 · 0 comments