A Multi-Language Implementation Method for Hygienic Macro Definition Mechanisms

DOI Web Site Open Access

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

Related Projects

See more

Details 詳細情報について

Report a problem

Back to top