Skip to Main content Skip to Navigation
Reports

C source-to-source compiler enhancement from within

Jens Gustedt 1
1 CAMUS - Compilation pour les Architectures MUlti-coeurS
Inria Nancy - Grand Est, ICube - Laboratoire des sciences de l'ingénieur, de l'informatique et de l'imagerie
Abstract : We show how locally replaceable code snippets can be used to easily specify and prototype compiler and language enhancements for the C language that work by local source-to-source transformation. A toolbox implements the feature and provides many directives that can be used for compile time configuration and tuning, code unrolling, compile time expression evaluation and program modularization. The tool is also easily extensible by simple filters that can be programmed with any suitable text processing framework.
Document type :
Reports
Complete list of metadatas

Cited literature [12 references]  Display  Hide  Download

https://hal.inria.fr/hal-02998412
Contributor : Jens Gustedt <>
Submitted on : Tuesday, November 17, 2020 - 7:16:15 PM
Last modification on : Thursday, November 19, 2020 - 2:22:03 PM

File

RR-9375.pdf
Files produced by the author(s)

Licence


Distributed under a Creative Commons Attribution - NonCommercial - NoDerivatives 4.0 International License

Identifiers

  • HAL Id : hal-02998412, version 2

Citation

Jens Gustedt. C source-to-source compiler enhancement from within. [Research Report] RR-9375, INRIA. 2020. ⟨hal-02998412v2⟩

Share

Metrics

Record views

89

Files downloads

80