高级检索

图符语言CQL解释器的实现

Implementation of A Visual Language CQL Interpreter

  • 摘要: 为了有效地实现数据库图符查询语言解释器,引入了图卡解析树;开发出二维文法规则;定义出一套适宜于模式分析、语法分析及语义解析的图符程序内部存储机制;并使用临时图卡的方法来解决带有嵌套结构的复杂语句的编译问题.

     

    Abstract: Because the basic morpheme of visual program is not the common character, the compiler or interpreter of the language is different from that of the program in a common high-level language. In order to implement the interpreter of the database's icon querying language efficiently, the analytical tree of cards is introduced in the implementation. We make use of the 2-dimensional regulating metho, and define the internal storage mechanism of the icon program to meet the need of the pattern analysis, grammatical and semantic analysis. At the same time, temp-cards are used to solve the compiling problem of complex sentence with embedded structure.

     

/

返回文章
返回