首页 | 本学科首页   官方微博 | 高级检索  
     

4GL编译时类型识别机制研究与设计
引用本文:郑玉山,王鹏,邓正宏. 4GL编译时类型识别机制研究与设计[J]. 微电子学与计算机, 2004, 21(12): 174-178
作者姓名:郑玉山  王鹏  邓正宏
作者单位:西北工业大学计算机学院,陕西,西安,710072
摘    要:类型识别是编译器开发中的一项重要工作,也是语义分析中的一个最重要组成部分。本论文以JE4VB(Java Editon for VB)系统开发为背景,介绍将VB代码移植成Java代码的高级编译器中的类型识别问题。通过研究了4GL编译器语义分析过程中的类型识别问题,根据给出的抽象语法树和符号表,提出类型识别的解决方案,并给出详细的实现算法。

关 键 词:类型识别 语义分析 JE4VB 4GL 抽象语法树 符号表
文章编号:1000-7180(2004)12-174-05
修稿时间:2004-09-17

The Research and Design of Type Identification System for 4GL Compiler
ZHENG Yu-shan,WANG Peng,DENG Zheng-hong. The Research and Design of Type Identification System for 4GL Compiler[J]. Microelectronics & Computer, 2004, 21(12): 174-178
Authors:ZHENG Yu-shan  WANG Peng  DENG Zheng-hong
Abstract:Type identification, also called type-checking, is one important parts of development of compiler, and one most important component of semantic analysis. On the basis of system named JE4VB(Java Editon for VB), it introduces the question of type identification which translate VB source code to Java source code. Firstly, the author research question of type identification which occur in 4GL compiler semantic analysis, then get the solutions of type identification according to AST(abstract syntax tree) and symbol table, finally design the detailed realization algorithm.
Keywords:Type identification   Language analysis   JE4VB   4GL   AST   Symbol table  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号