首页    期刊浏览 2024年09月21日 星期六
登录注册

文章基本信息

  • 标题:Translating programming languages for intermediate codes
  • 本地全文:下载
  • 作者:Hunyadi, Daniel I. ; Musan, Mircea A.
  • 期刊名称:Informatica Economica
  • 印刷版ISSN:1453-1305
  • 出版年度:2007
  • 卷号:XI
  • 期号:2
  • 页码:117-121
  • 出版社:Academy of Economic Studies - Bucharest, Romania
  • 摘要: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.
  • 关键词:compiler; lexical analysis; abstract syntax; intermediate representation; abstract machine language
国家哲学社会科学文献中心版权所有