rofl0r/order-pp
View on GitHub ↗ ★ 138 C
order-pp preprocessor library (standalone part of chaos-pp)
9 mentions on Hacker News by 5 people: 0 stories, 9 comments · first 2015-10-13 · latest 2024-11-16
20082026
-
…of developer creativity. [1] https://github.com/rofl0r/chaos-pp/tree/master/chaos/preproc... [2] https://github.com/rofl0r/order-pp/blob/master/example/fibon...
comment by foundry27 · 2024-11-16 · in C++ template macroprogramming versus Lisp macros -
…to create entire functional languages at compile time, which is far beyond any constexpr functions. https://github.com/rofl0r/order-pp
comment by FrozenVoid · 2022-04-25 · in The Hare programming language -
…anyone curious about the practicality of that sort of thing, A CPS macro continuation machine like https://github.com/rofl0r/order-pp/blob/master/inc/order/cm.... would give you about 18 quintillion loop iterations if my math was right;…
comment by foundry27 · 2021-03-15 · in No Us Without You: elifdef and elifndef -
…whatever), even if that number is finite, it’s enough to do any conceivable code generation task. https://github.com/rofl0r/order-pp/blob/master/doc/notes.txt is the poster child of where that idea gets you; a functional programming…
comment by foundry27 · 2020-12-06 · in Is the preprocessor still needed in C++? (2017) -
There are some annotated examples [1]. [1] https://github.com/rofl0r/order-pp/tree/master/example
comment by lifthrasiir · 2020-02-29 · in Dave Prosser's C Preprocessing Algorithm (2006) -
…and/or examples? I couldn't make much sense of the grammar in [1] without usage examples. [1] https://github.com/rofl0r/order-pp/blob/master/doc/notes.txt
comment by RossBencina · 2020-02-29 · in Dave Prosser's C Preprocessing Algorithm (2006) -
…in examples of software where true preprocessor standard conformance is essential, check out https://github.com/rofl0r/order-pp . It’s a functional programming language built on the C preprocessor that can essentially output any sequence…
comment by foundry27 · 2020-02-29 · in Dave Prosser's C Preprocessing Algorithm (2006) -
…very powerful abstractions. see http://www.boost.org/doc/libs/1_64_0/libs/preprocessor/doc/i... https://github.com/rofl0r/order-pp Variadic overloading of function macros is technique from http://stackoverflow.com/questions/11761703/overloa…
comment by FrozenVoid · 2017-05-30 · in Scandalous Weird Old Things About The C Preprocessor (2015) -
…usage of the C preprocessor. Abuse is something like this: https://github.com/rofl0r/chaos-pp and https://github.com/rofl0r/order-pp
comment by Kristine1975 · 2015-10-13 · in Struct Iteration Through Abuse of the C Preprocessor