Rapid and robust compiler construction using template-based metacompilation

被引:0
|
作者
van Reeuwijk, C [1 ]
机构
[1] Delft Univ Technol, NL-2628 CD Delft, Netherlands
来源
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We have developed Tm, a template-based metacompiler. Given a set of data-structure definitions and a template, Tm generates files that instantiate the template for the given data structures. With this process, Tm is able to generate program code to manipulate these data structures. Since-it uses templates, the generated code is not restricted to a specific programming language: any sufficiently powerful programming language can be targeted. Tm has been used for a wide variety of tasks and languages. However, it was designed to support compiler construction, and most applications have been in that area. In this paper we outline Tm, and describe our experiences with using it to construct a static compiler for Java. As we will show, it has significantly accelerated implementation of the compiler. Almost 75% of its source code is generated by Tm, allowing us to rapidly implement a much more robust and sophisticated compiler than would have been possible otherwise.
引用
收藏
页码:247 / 261
页数:15
相关论文
共 50 条
  • [1] Template-based construction of verified software
    Hemer, D
    Lindsay, PA
    [J]. IEE PROCEEDINGS-SOFTWARE, 2005, 152 (01): : 2 - 12
  • [2] Automatic Labeling of Vertebral Levels Using a Robust Template-Based Approach
    Ullmann, Eugenie
    Paquette, Jean Francois Pelletier
    Thong, William E.
    Cohen-Adad, Julien
    [J]. INTERNATIONAL JOURNAL OF BIOMEDICAL IMAGING, 2014, 2014 (2014)
  • [3] Visual template-based collective construction using a swarm of minimalist robots
    Zhang, Zhengwei
    Li, Yibin
    Li, Caihong
    [J]. Journal of Computational Information Systems, 2011, 7 (10): : 3706 - 3713
  • [4] Template-based Framework for Rapid Application Development Platform
    Huaqing, Mao
    Li, Zhu
    [J]. 2011 ASIA-PACIFIC POWER AND ENERGY ENGINEERING CONFERENCE (APPEEC), 2011,
  • [5] Collaborative Ontology Construction using Template-based Wiki for Semantic Web Applications
    Lim, Sung-Kooc
    Ko, In-Young
    [J]. 2009 INTERNATIONAL CONFERENCE ON COMPUTER ENGINEERING AND TECHNOLOGY, VOL II, PROCEEDINGS, 2009, : 171 - 175
  • [6] A robust automatic birdsong phrase classification: A template-based approach
    Kaewtip, Kantapon
    Alwan, Abeer
    O'Reilly, Colm
    Taylor, Charles E.
    [J]. JOURNAL OF THE ACOUSTICAL SOCIETY OF AMERICA, 2016, 140 (05): : 3691 - 3701
  • [7] TEMPLATE-BASED ISOCONTOURING
    Lakshmipathy, Jagannathan
    Nowinski, Wieslaw L.
    Wernert, Eric A.
    [J]. INTERNATIONAL JOURNAL OF IMAGE AND GRAPHICS, 2006, 6 (02) : 187 - 204
  • [8] Robust Template-Based Non-Rigid Motion Tracking Using Local Coordinate Regularization
    Li, Wei
    Zhao, Shang
    Xiao, Xiao
    Hahn, James K.
    [J]. 2020 IEEE WINTER CONFERENCE ON APPLICATIONS OF COMPUTER VISION (WACV), 2020, : 390 - 399
  • [9] Robust Template-Based Watermarking for DIBR 3D Images
    Kim, Wook-Hyung
    Hou, Jong-Uk
    Han-Ul Jang
    Lee, Heung-Kyu
    [J]. APPLIED SCIENCES-BASEL, 2018, 8 (06):
  • [10] Template-Based Semi-Formal Approach to Robust Equivalence Checking
    Wang, Qinhao
    Fujita, Masahiro
    [J]. ELECTRONICS, 2022, 11 (11)