首页> 外文会议>FM 2011: Formal methods >TraceContract: A Scala DSL for Trace Analysis
【24h】

TraceContract: A Scala DSL for Trace Analysis

机译:TraceContract:用于跟踪分析的Scala DSL

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

摘要

In this paper we describe TraceContract, an API for trace analysis, implemented in the Scala programming language. We argue that for certain forms of trace analysis the best weapon is a high level programming language augmented with constructs for temporal reasoning. A trace is a sequence of events, which may for example be generated by a running program, instrumented appropriately to generate events. The API supports writing properties in a notation that combines an advanced form of data parameterized state machines with temporal logic. The implementation utilizes Scala's support for defining internal Domain Specific Languages (DSLs). Furthermore Scala's combination of object oriented and functional programming features, including partial functions and pattern matching, makes it an ideal host language for such an API.
机译:在本文中,我们描述了以Scala编程语言实现的TraceContract(一种用于跟踪分析的API)。我们认为,对于某些形式的跟踪分析,最好的武器是使用高级编程语言,并添加用于时间推理的构造。跟踪是一系列事件,例如可以由正在运行的程序生成,并经过适当检测以生成事件。该API支持以符号形式书写属性,该符号将数据参数化状态机的高级形式与时态逻辑相结合。该实现利用Scala的支持来定义内部领域特定语言(DSL)。此外,Scala将面向对象和功能编程功能(包括部分功能和模式匹配)相结合,使其成为此类API的理想宿主语言。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号