期刊论文详细信息
Informatică economică
Translating programming languages for intermediate codes
关键词: compiler;    lexical analysis;    abstract syntax;    intermediate representation;    abstract machine language;   
DOI  :  
来源: DOAJ
【 摘 要 】

Many of the important data structures used in a compiler are intermediate representations of the program being compiled. Often these representations take the form of trees, with several node types, each of which has different attributes. Tree representations can be described with grammars, just like programming languages. For each grammar rule, there is one constructor that belongs to the class for its left-hand-side symbol. I simply extend the abstract class with a concrete class for each grammar rule. Each grammar rule has right hand side components that must be represented in the data structures.

【 授权许可】

Unknown   

  文献评价指标  
  下载次数:0次 浏览次数:0次