標題: | AN OBJECT-ORIENTED SPECIFICATION FOR COMPILER |
作者: | WU, PC WANG, FJ 資訊科學與工程研究所 Institute of Computer Science and Engineering |
公開日期: | 1-一月-1992 |
摘要: | In this paper, we present an object-oriented approach to compiler specification. Our method treats grammar symbols as templates which instantiate nodes of parse tree for object-oriented semantic analysis. To have better classification and inheritance for semantic description, it uses restricted CFG to specify grammar rules. The semantic specification is done based on a class hierarchy generated from the restricted CFG. Besides, that a path expression is booted to describe the possible receivers of a message releases the restriction on the specification of message (value) propagations in attribute grammar methods. |
URI: | http://hdl.handle.net/11536/3590 |
ISSN: | 0362-1340 |
期刊: | SIGPLAN NOTICES |
Volume: | 27 |
Issue: | 1 |
起始頁: | 85 |
結束頁: | 94 |
顯示於類別: | 期刊論文 |