期刊文献+

一种上下文无关语言语法树的存储模式及其应用

Storage Mapping of Syntax Tree for Context-Free Language and its Application
在线阅读 下载PDF
导出
摘要 针对上下文无关语言的句子所对应的语法树G树的表示形式提出了一种关系数据库的存储形式.这种存储形式的优点是:表示形式一致;句子分析简单;语句执行速度快.这种存储形式作为一种上下文无关语言的中间语言的形式可以直接交付解释器(抽象机)执行.同时介绍基于这种表示形式的上下文无关句子的编辑器.编辑器是基于W eb的交互式语法制导生成方式实现的.这种表示与存储形式被用于一种描述过程性知识的函数式语言. A storage mapping of G tree of syntax tree in relational databases is represented. The syntax tree is an intermediate representation for sentence of context-free language. The storage mapping has several advantages, such as the formal of representation is consistency, the sentence constructed is simple and the sentence in the formal of syntax tree is interpreted quickly. The intermediate representation of sentence as context-free language in the storage mapping is sent to abstract-machine, the interpreter (abstract machine) can interpret without processing. A language editor for sentence of context-free language in the storage mapping based on interactive syntax directed and web is designed and implemented. The representation and storage mapping are used in functional language system with describing procedural knowledge.
出处 《小型微型计算机系统》 CSCD 北大核心 2005年第12期2245-2249,共5页 Journal of Chinese Computer Systems
关键词 上下文无关语言 语法树 表示形式 语法制导 context-free language syntax tree represent syntax-directed
  • 相关文献

参考文献2

二级参考文献7

  • 1Teitebaim T, Reps T. The Comell program synthesizer: A syntaxdirected programming environment[ J]. CACM, 1981,24(9).
  • 2Chen Haiming,J Computer Sci Technol,1999年,14卷,4期,414页
  • 3董韫美,中国科学院软件研究所计算机科学实验室.技术报告:ISCAS-LCS-98-14,1998年
  • 4董韫美,中国科学院软件研究所计算机科学实验室.技术报告:ISCAS-L CS-96 -1,1996年
  • 5董韫美,中国科学院软件研究所计算机科学实验室.技术报告:ISCAS-LCS-95 -0 9,1995年
  • 6周天山,刘椿年,李京悦,钟宁燕,苗占禄.CLP编译系统中非线性约束求解的算法与优化[J].北京工业大学学报,2000,26(3):104-107. 被引量:1
  • 7傅忱,张兆庆.编译器中多视图中间表示的支撑技术[J].计算机研究与发展,2002,39(1):120-125. 被引量:1

共引文献8

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部