Code Selector Description Generation



In Section 3.3.2, it was mentioned that the code selector’s task is to map the IR to a semantically equivalent sequence of machine instructions. A common technique for code selection is the tree-pattern-matching technique, which is also employed in the CoSy platform. Like in many other ADLs, the required tree grammar must be manually specified in the Compiler Designer. Practical experience showed that this is a time-consuming, tedious, and error-prone task. Additionally, two major drawbacks have been identified: first of all, the designer actually starts with an empty code selector specification, i.e., he must have the knowledge about which code selector rules are necessary to build a working compiler that is able to translate arbitrary input programs. Second the code selector description from a previous


Basic Rule Tree Pattern Mapping Rule Semantic Statement Code Selector 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer Science+Business Media, LLC 2010

Authors and Affiliations

  1. 1.RWTH Aachen University Institute for Software for Systems on SiliconAachenGermany

Personalised recommendations