Presentation 2013-10-24
Design and Implementation of a Framework for API-Based Language Extension via Rule-Based Rewriting utilizing COINS
Takuya SHIODE, Hideyuki KAWABATA, Toshiaki KITAMURA,
PDF Download Page PDF download Page Link
Abstract(in Japanese) (See Japanese page)
Abstract(in English) Although C language is quite simple, the language is useful enough to develop various kind of applications utilizing a variety of library packages via API calls. However, writing programs using libraries with explicit API calls puts heavy load on the user.In order to alleviate such situations, utilization of a compiler which automatically translates codes written in a C-like language into codes in C with API calls - in other words, language extension by APIs - could be promising. In this article, in order to make the process of development of compilers for languages which are extended by APIs as simple as possible, we propose a novel compiler generator which accepts rule-based rewriting utilizing COINS for each API-Based language extension. Using our system, compilers which support a set of APIs from various kinds of libraries can be constructed easily only by defining rewrite rules. We experimentally designed a set of rewrite rules for the MPFR library as a case study, and we confirmed that it is possible to construct the environment in which a user can generate programs which make use of MPFR facility without detailed knowledge about the library.
Keyword(in Japanese) (See Japanese page)
Keyword(in English) COINS / APIs / MPFR / Program Translation / Compilers / Compiler Generator
Paper # SS2013-38
Date of Issue

Conference Information
Committee SS
Conference Date 2013/10/17(1days)
Place (in Japanese) (See Japanese page)
Place (in English)
Topics (in Japanese) (See Japanese page)
Topics (in English)
Chair
Vice Chair
Secretary
Assistant

Paper Information
Registration To Software Science (SS)
Language JPN
Title (in Japanese) (See Japanese page)
Sub Title (in Japanese) (See Japanese page)
Title (in English) Design and Implementation of a Framework for API-Based Language Extension via Rule-Based Rewriting utilizing COINS
Sub Title (in English)
Keyword(1) COINS
Keyword(2) APIs
Keyword(3) MPFR
Keyword(4) Program Translation
Keyword(5) Compilers
Keyword(6) Compiler Generator
1st Author's Name Takuya SHIODE
1st Author's Affiliation Hiroshima City University()
2nd Author's Name Hideyuki KAWABATA
2nd Author's Affiliation Hiroshima City University
3rd Author's Name Toshiaki KITAMURA
3rd Author's Affiliation Hiroshima City University
Date 2013-10-24
Paper # SS2013-38
Volume (vol) vol.113
Number (no) 269
Page pp.pp.-
#Pages 6
Date of Issue