Computer Software
Print ISSN : 0289-6540
A Multi-Language Implementation Method for Hygienic Macro Definition Mechanisms
Kentaro TAKAKUWATakuo WATANABE
Author information
JOURNAL FREE ACCESS

2018 Volume 35 Issue 2 Pages 2_33-2_39

Details
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.
Content from these authors
© 2018 Japan Society for Software Science and Technology
Previous article Next article
feedback
Top