程序设计语言的一种自动编译器
AN AUTO COMPILER OF PROGRAMMING LANGUAGES
-
摘要: 本文介绍一种简单而又直观的程序设计语言的编译器.我们主要讨论如何把语义动作嵌入到文法产生式内,当分析过程时,如何执行相应语义子程序,以实现对程序设计语言的自动翻译Abstract: In this paper,a simple and intuitive compiler for programming languages is introduced. Also discussed are how to embed semantic action into production for grammar, and to execute corresponding semantic subroutines in order to auto translate programming languages during parsing.
下载: