Polyglot: An extensible compiler framework for Java']Java

被引:0
作者
Nystrom, N [1 ]
Clarkson, MR [1 ]
Myers, AC [1 ]
机构
[1] Cornell Univ, Ithaca, NY 14853 USA
来源
COMPILER CONSTRUCTION, PROCEEDINGS | 2003年 / 2622卷
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Polyglot is an extensible compiler framework that supports the easy creation of compilers for languages similar to Java, while avoiding code duplication. The Polyglot framework is useful for domain-specific languages, exploration of language design, and for simplified versions of Java for pedagogical use. We have used Polyglot to implement several major and minor modifications to Java; the cost of implementing language extensions scales well with the degree to which the language differs from Java. This paper focuses on the design choices in Polyglot that are important for making the framework usable and highly extensible. Polyglot source code is available.
引用
收藏
页码:138 / 152
页数:15
相关论文
共 39 条
  • [1] Alt M., 1994, Compiler Construction. 5th International Conference, CC'94. Proceedings, P278
  • [2] [Anonymous], [No title captured]
  • [3] BAKER J, 2002, P ACM SIGPLAN 2002 C, P270
  • [4] JTS: Tools for implementing domain-specific languages
    Batory, D
    Lofaso, B
    Smaragdakis, Y
    [J]. FIFTH INTERNATIONAL CONFERENCE ON SOFTWARE REUSE - PROCEEDINGS, 1998, : 143 - 153
  • [5] Bracha G., 1992, THESIS U UTAH
  • [6] CHAMBERS C, 1992, LECT NOTES COMPUT SC, V615, P33, DOI 10.1007/BFb0053029
  • [7] MultiJava']Java: Modular open classes and symmetric multiple dispatch for Java']Java
    Clifton, C
    Leavens, GT
    Chambers, C
    Millstein, T
    [J]. ACM SIGPLAN NOTICES, 2000, 35 (10) : 130 - 145
  • [8] DeLine Robert., 2001, Proceedings of the ACM SIGPLAN 2001 conference on Programming language design and implementation, P59, DOI DOI 10.1145/381694.378811
  • [9] ENGLER D, 2000, P 4 US S OP SYST DES
  • [10] Findler R. B., 1997, Programming Languages: Implementations, Logics, and Programs. 9th International Symposium, PLILP'97, Including a Special Track on Declarative Programming Languages in Education. Proceedings, P369, DOI 10.1007/BFb0033856