首页> 外文会议>International Conference for Young Computer Scientists >Efficient Type Checking for a Subclass of Regular Expression Types
【24h】

Efficient Type Checking for a Subclass of Regular Expression Types

机译:高效类型检查正则表达式的子类

获取原文

摘要

Type checking is an important problem in statically typed XML processing languages. Most type systems are implemented based on tree automata for the tree structure of XML documents and schemas. It is known that the complexity of inclusion problem for tree automata is in EXPTIME. In fact, most definitions in XML Schema are actually DTDs. The inclusion problem of DTDs can be reduced to inclusion of one-unambiguous regular expressions in DTDs. We have developed a method for type checking that works for regular expression types which are DTDs. The method is based on one-unambiguous regular expressions together with using the information of labels in DTDs, which can work in top-down or bottom-up manner. Although our method supports DTDs only now, it is general and can support more general schemas by integrating with the conventional method of type checking. The experiments show that our method is more efficient in practice.
机译:类型检查是静态键入的XML处理语言中的重要问题。大多数类型系统是基于树自动数据实现的,用于XML文档和模式的树结构。众所周知,树木自动机夹杂物的复杂性处于Exptime。实际上,XML模式中的大多数定义实际上是DTD。 DTD的包含问题可以减少到DTD中包含一个明确的正则表达式。我们开发了一种用于类型检查的方法,该方法适用于DTD的正则表达式类型。该方法基于一个明确的正则表达式,使用DTD中的标签信息,可以以自上而下或自下而上的方式工作。虽然我们的方法仅支持DTD,但它是一般的,并且可以通过与传统的类型检查方法集成来支持更通用的模式。实验表明,我们的方法在实践中更有效。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号