【24h】

Tree Components Programming: An Application to XML

机译:树组件编程:XML的应用

获取原文
获取原文并翻译 | 示例

摘要

We present a new programming approach based on a contextual component specification. The language we propose integrates XML and functional aspects in a coherent and homogeneous framework. This enables us to fully have static typing and to specify formal properties with respect to interactions. Our language FICX, Functional Interactive and Compositional XML, defines a new kind of data structure called Xobjects and relies on a statically typed functional language (currently OCaml). An Xobject is an abstract structure made in two parts: the Xdata part is an XML structure extended by means of triggers dedicated to interactions, the reaction part gives the code associated to triggers that is evaluated on demand. The modularity is ensured by a parameterization of Xobjects: compound Xobjects form a tree structure, rendering a complex XML tree together with appropriate reactions for triggers. A program is a set of structures, each structure being a tree of Xobjects.
机译:我们提出了一种基于上下文组件规范的新编程方法。我们建议的语言将XML和功能方面集成在一个一致且统一的框架中。这使我们能够完全具有静态类型并指定关于交互的形式属性。我们的语言FICX(功能交互和组合XML)定义了一种称为Xobjects的新型数据结构,并依赖于静态类型的功能语言(当前为OCaml)。 Xobject是由两部分组成的抽象结构:Xdata部分是通过专用于交互的触发器扩展的XML结构,Reaction部分提供了与按需评估的触发器关联的代码。通过Xobjects的参数化确保模块化:复合Xobjects形成树形结构,呈现复杂的XML树以及对触发器的适当响应。程序是一组结构,每个结构都是Xobjects树。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号