全部 标题 作者
关键词 摘要

OALib Journal期刊
ISSN: 2333-9721
费用:99美元

查看量下载量

相关文章

更多...
电子学报  2002 

编译系统中间代码的一种抽象表示

, PP. 2134-2137

Keywords: 中间表示,代数数据类型,面向对象,编译系统

Full-Text   Cite this paper   Add to My Lib

Abstract:

中间表示是提高编译器的可移植性和代码生成的有效性的关键技术.为提高编译成份的可复用性,简化编译器的构造,本文提出了一种描述程序语言抽象语法及编译器内部数据结构的抽象中间表示AIR(AbstractInter-mediateRepresentation).AIR以代数数据类型为主体,并用面向对象特征对其进行扩展,从而使之具有简洁的语法,较强的表达能力、灵活性和可扩展性.AIR将抽象描述与其具体实现相分离,可方便地用不同的高级程序语言实现,从而有助于提高编译成份间的互操作性.

References

[1]  Harper R.Introduction to standard ML[R].Technical Report ECS LFCS-86-14,School of Computer Science,Carnegie Mellon University,http://www.disi.unige.it USA,1997.
[2]  Wilson R P,et al.SUIF:An infrastructure for research on parallelizing and optimizing compilers[J].ACM SIGPLAN Notices,1994,29(10):31-37.
[3]  Wang D C,et al.The zephyr abstract syntax description[A].USENIX Conference on Domain-Specific Languages[C].USA:USENIX,1997.
[4]  Oxford:Clarendon Press,1990.Goldfarb C F,et al.The SGML Handbook[S].
[5]  Odersky M,et al.Pizza into java:translating theory into practice[A].In Proceeding POPL[C].Paris,1997.15-17.
[6]  Nikil D,et al.New directions in compiler technology for embedded systems[A].Proceedings of the Conference on Asia South Pacific Design Automation Conference[C].Yokohama Japan:ASP-DAC,2001.
[7]  Ganapathi M.Affix grammar driven code generation[J].ACM Transactions of Programming Languages and Systems,1985.560-599.
[8]  Fraser C W,et al.Engineering a simple,efficient code-generator generator[J].ACM Letters on Programming Languages and Systems,1992,1(3):213-226.
[9]  Zenger M,et al.Extensible algebraic datatypes with defaults[A].InProc.International Conference on Functional Programming (ICFP 2001)[C].Italy:Firenze,2001.
[10]  ITU-T X.683.ISO and IEC,Information Technology-Abstract Syntax Notation One(ASN.1):Specification of Basic Notation[S].Telecommunication Standardization Sector of ITU,2000.7.

Full-Text

Contact Us

service@oalib.com

QQ:3279437679

WhatsApp +8615387084133