首页> 外国专利> Using XML as a common parser architecture to separate parser from compiler

Using XML as a common parser architecture to separate parser from compiler

机译:使用XML作为通用解析器体系结构将解析器与编译器分开

摘要

A method and apparatus for compiling queries is provided. A first query in a first syntax of a query language is received. Based on the first query, a second query in a second syntax of the query language is generated. The first syntax and the second syntax are each among a plurality of syntaxes that are defined for the query language. The second query is parsed to generate parsed information. Based on the parsed information, the second query is compiled by a compiler that does not support compiling of queries in the first syntax.
机译:提供了一种用于编译查询的方法和装置。接收具有查询语言的第一语法的第一查询。基于第一查询,以查询语言的第二语法生成第二查询。第一语法和第二语法分别是针对查询语言定义的多种语法中的一种。解析第二个查询以生成解析的信息。基于解析的信息,第二个查询由不支持以第一种语法编译查询的编译器编译。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号