題名: 剖析時屬性計算
其他題名: Evaluating Attributes During Parsing
作者: 歐陽士庭
吳培基
王豐堅
關鍵字: attribute grammars
visit-oriented attribute evaluators
parser generators
屬性文法
剖析器產生器
期刊名/會議名稱: 1995 NCS會議
摘要: Compilers automatically generated from attribute grammars (AGs) are usually slower than hand-coded ones. One of the reasons is that most attribute evaluators are invoked after parsing. This paper proposes two algorithms to insert attribute evaluation codes of AGs into parsing actions. The first algorithm combines tree construction sequences (parsing actions) and attribute evaluation sequences (visit sequences of AGs) into a parse-time visit sequence. The resulting sequence can be directly used in top-down parsing. For bottom-up parsing, another algorithm introduces additional steps to schedule the visit sequence according to the free positions in the grammar.
日期: 2007-01-12T07:11:43Z
分類:1995年 NCS 全國計算機會議

文件中的檔案:
檔案 描述 大小格式 
ce07ncs001995000056.pdf524.22 kBAdobe PDF檢視/開啟


在 DSpace 系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。