C source-to-source compiler enhancement from within - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Reports (Research Report) Year : 2020

C source-to-source compiler enhancement from within

Amélioration source-à-source de compilateurs C


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.
Fichier principal
Vignette du fichier
RR-9375.pdf (870.45 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-02998412 , version 1 (10-11-2020)
hal-02998412 , version 2 (17-11-2020)



  • HAL Id : hal-02998412 , version 2


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


Gmail Mastodon Facebook X LinkedIn More