yaCF , Yet another Compiler Framework, is a translator framework designed to create source to source translators, code analysis tools or just to teach compiler technology without the need of learning large pieces of code.
Taking advantage of python introspection capabilities and its inherent code flexibility, using yaCF this kind of tools can be build with lower effort.
The yaCF translation system has been designed to ease the writing of these source transformations or manipulations. Using a set of patterns, based on widely known object oriented patterns, implementing code transformation is only a matter of writing a few lines of code.
Currently, the main pourpose of yaCF is to build llCoMP, which is a source to source translator for High Performance Computing. Current version of llCoMP is capable of translating llc sources to CUDA. llc (see llc Language) is an extension of OpenMP developed at La Laguna University. See Future Work for future developments of this compiler.
Taking advantage of yaCF translation system, we have also developed several high level transformations for llc sources, which can be applied by users to optimize or improve their codes, or can be taken as baseline for additional transformations.