How to write an extension for C
In this talk we will briefly describe how to add your own extension to C, what steps may be needed to do it. And then we will review a small example
- Track: LLVM devroom
- Room: D.llvm
- Day: Saturday
- Start: 13:35
- End: 14:00
- Video with Q&A: D.llvm
- Video only: D.llvm
- Chat: Join the conversation!
In this talk we will briefly describe how to add your own extension to C, what steps may be needed to do it. And then we will review a small example
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
Speakers
Pavel Kosov |