With FP-to-AG on the one hand and the reciprocal translation based on well-known technique (for instance [18]) on the other hand, the symbolic composition can be fully applied in the functional framework: it transforms a functional program into another one. This allows us to characterize a class of functional programs for which symbolic composition performs more deforestation than other functional methods.
This paper is organized as follows. Section 2 defines the translation from a functional program into its attribute grammar form. Section 3 presents several transformations allowing symbolic composition to be efficiently applied on attribute grammars generated by the previous translation. Finally, section 4 deals with related work and improvements for both functional deforestation methods and attribute grammars transformations.