作者: Michiaki Tatsubori , Shigeru Chiba
DOI:
关键词:
摘要: This paper presents that compile-time MOPs can provide a general framework resolving implementation problems of design patterns. The come from the fact some programs written according to patterns are too complicated and errorprone their overall structure is not easy understand. problem be resolved by syntax extensions extended language constructs simplify description improve readability programs. In our approach, programmers use MOP write library which implements for supporting each pattern. We illustrate this approach with examples in OpenJava, self extensible version Java MOP. Adapter pattern Visitor used as examples.