We want to summarize our findings, which we gathered during implementation of procedural-parametric extension for C. This work will present a list of examples about how to extend existing structures in clang, and how to map your new constructions from source code to LLVM IR
More details about procedural-parametric approach: https://dl.acm.org/doi/10.1145/2556610.2556619
In that article you'll see examples of this extension implemented in Modula-like programming language. It will give you full picture about what we implemented in C