Run-Time Concrete-Syntax Program-Transformation in General Purpose Languages

From LRDE

(Redirected from Publications/200801-Seminar-Sigoure-CC)

Abstract

Program transformation in general purpose languages such as Cxx is tedious because it requires the ast of the transformed program to be manipulated in abstract syntax (that is, in the host language, Cxx here). The code to write is unwieldy and costly to maintain. This object of the seminar is to present the implementation of new concrete syntax program transformation techniques (that isusing directly the language of the transformed program) in a standard Cxx environment. Our approach uses the parser at run-time to apply dynamic transformation rules. A Tiger compiler will be used to support the presentation.