作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 1998, Vol. 24 ›› Issue (01): 30-33.

• 论文 • 上一篇    下一篇

SGML语言的编译实现

钱光晖,李善平,何志均   

  1. 浙江大学CAD&CG国家重点实验室 浙江大学人工智能研究所,杭州,310027,浙江大学CAD&CG国家重点实验室 浙江大学人工智能研究所,杭州,310027,浙江大学CAD&CG国家重点实验室 浙江大学人工智能研究所,杭州,310027
  • 发布日期:1998-01-25

Implementation of SGML Compiling

Qian Guanghui, Li Shanping, He Zhijun   

  1. (StateKey Lab. of CAD&CG, Institute of Artificial Inteligence, Zhejiang University Hangzhou 310027)
  • Published:1998-01-25

摘要: sgmltool是作者开发的一种支持各类SGML应用系统的编译系统。sgmltool动态解释DTD和SGML文档,将后者转换成一种规范化的内部结构,并保存到面向对象数据库OSCAR中。OSCAR中规范的SGML数据结构可作为其它SGML应用系统的基础。该文详细讨论Sgmltool的实现技术,重点介绍用sgmltool解释SGML语言的词法分析、语法分析及语文处理等层次的控制流和数据流.

关键词: SGML, DTD, 超媒体文档

Abstract: This paper presents ideas and methods to develop an SGML compiler, sgmltool.With sgmltool, SGML documents are interpreted into formal data forms which are stored into the object-oriented datebase system OSCAR from which the SGML ctocuments are easilly accessed by SGML applications. The emphases of the paper are the control flow and the data flow among the SGML processing modules like lexical parsing, Syntactic parsing and semantic translation.

中图分类号: