首页> 外文会议>Rewriting Techniques and Applications >JITty: A Rewriter with Strategy Annotations
【24h】

JITty: A Rewriter with Strategy Annotations

机译:JITty:具有策略注释的重写器

获取原文

摘要

We demonstrate JITty, a simple rewrite implementation with strategy annotations, along the lines of the Just-In-Time rewrite strategy, explained and justified in [4]. Our tool has the following distinguishing features: 1. It provides the flexibility of user defined strategy annotations, which specify the order of normalizing arguments and applying rewrite rules. 2. Strategy annotations are checked for correctness, and it is guaranteed that all produced results are normal forms w.r.t. the underlying TRS. 3. The tool is "light-weight" with compact but fast code. 4. A TRS is interpreted, rather than compiled, so the tool has a short start-up time and is portable to many platforms. We shortly review strategy annotations in Section 2. JITty is available via http://www.cwi.nl/~vdpol/jitty/ together with a small demonstrator (Section 3) that can be used to experiment with strategy annotations. The rewrite engine has also been integrated in the μCRL tool set. Although performing a rewrite step takes more time in JITty than in the standard compiling rewriter of the μCRL toolset, the former is often preferred, owing to avoidance of compilation time, and better normalization properties of the just-in-time strategy. In Section 4 we emphasize certain requirements on the rewriter imposed by the μCRL toolset. This leads to an unconventional application programmer's interface, which is described in Section 5.
机译:我们演示了JITty,它是一种带有策略注释的简单重写实现,它遵循[4]中解释和证明的即时重写策略。我们的工具具有以下区别功能:1.它提供了用户定义的策略注释的灵活性,该注释指定了规范化参数和应用重写规则的顺序。 2.检查策略注释的正确性,并确保所有产生的结果均为正常形式。基本的TRS。 3.该工具“轻巧”,具有紧凑但快速的代码。 4. TRS是解释性的,而不是编译性的,因此该工具的启动时间很短,并且可移植到许多平台上。我们很快会在第2节中回顾策略注释。可以通过http://www.cwi.nl/~vdpol/jitty/以及一个小型演示程序(第3节)来获得JITty,该演示程序可用于实验策略注释。重写引擎也已集成在µCRL工具集中。尽管在JITty中执行重写步骤要比在μCRL工具集的标准编译重写器中花费更多的时间,但由于避免了编译时间和即时策略的更好的规范化特性,通常首选使用后者。在第4节中,我们强调了μCRL工具集对重写器的某些要求。这导致了一个非常规的应用程序程序员的界面,这将在第5节中进行介绍。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号