A Multi-Language Implementation Method for Hygienic Macro Definition Mechanisms
-
- TAKAKUWA Kentaro
- Dept. of Computer Science, Tokyo Institute of Technology
-
- WATANABE Takuo
- Dept. of Computer Science, Tokyo Institute of Technology
Bibliographic Information
- Other Title
-
- 多言語に対応した衛生的マクロ機構導入方式
- タゲンゴ ニ タイオウ シタ エイセイテキ マクロ キコウ ドウニュウ ホウシキ
Search this article
Abstract
In this paper, we propose an implementation method of hygienic macro-definition mechanisms into languages defined using OMeta, an OOP language with PEG-based general-purpose pattern matching. From the specification of a macro-definition mechanism and a parser written in OMeta, the proposed method generates an extended parser equipped with the macro-definition mechanism based on the Scope Set model. We show the effectiveness of the method by applying it to two different languages: JavaScript and MinCaml.
Journal
-
- Computer Software
-
Computer Software 35 (2), 2_33-2_39, 2018-04-24
Japan Society for Software Science and Technology
- Tweet
Details 詳細情報について
-
- CRID
- 1390282763015581056
-
- NII Article ID
- 130007410578
- 40021573432
-
- NII Book ID
- AN10075819
-
- NDL BIB ID
- 029059590
-
- ISSN
- 02896540
-
- Text Lang
- ja
-
- Data Source
-
- JaLC
- NDL
- CiNii Articles
- KAKEN
-
- Abstract License Flag
- Disallowed