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

基于XML Schema技术的编译符号表生成方法
引用本文:聂南,谢晓东,甘勇.基于XML Schema技术的编译符号表生成方法[J].计算机科学,2007,34(5):285-287.
作者姓名:聂南  谢晓东  甘勇
作者单位:1. 华中科技大学计算机科学与技术学院,武汉,430074;郑州轻工业学院计算机与通信学院,郑州,450002
2. 华中科技大学计算机科学与技术学院,武汉,430074
3. 郑州轻工业学院计算机与通信学院,郑州,450002
基金项目:中国湖北省自然科学基金 , 河南省自然科学基金
摘    要:传统的编译中间代码通常不能在移动、嵌入式和分布式等环境之间转换,而符号表的构造与管理贯穿整个中间代码的生成过程。本文提出一种基于XML Schema及其相关技术生成编译中间代码的符号表的方法。首先给出整体方案,然后阐述了如何运用XML Schema等技术表示编译器的前端,以及后端的目标机体系结构。生成的编译器符号表能通过XML工具统一管理和验证,从而使生成的编译中间代码有较高的可移植性,能被不同环境中的编译器采用。

关 键 词:编译  XML  Schema  DOM  XQuery

A Compiler Symbol Table Generation Approach Based on XML Schema
NiE Nan,XIE Xiao-Dong,GAN Yong.A Compiler Symbol Table Generation Approach Based on XML Schema[J].Computer Science,2007,34(5):285-287.
Authors:NiE Nan  XIE Xiao-Dong  GAN Yong
Abstract:Traditional compiling intermediate code is normally hard to be transformed between heterogeneous environments,such as mobile,embedded and distributed sstems.The building and management of symbol table is related with all stages of intermediate code.So a compiling symbol table building method based on XML Schema and its related techniques is proposed.Firstly,the design architecture of compiling process is given,then it expatiated how to represent front end and object machine architecture of backend of compiler.As a result,the symbol table can be managed and validated by XML tools,so the compiling intermediate code is with high portability,which can be applied and translated into compilers of different environments.
Keywords:Compile  XML schema  DOM  XQuery
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机科学》浏览原始摘要信息
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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