首页> 外文会议>Brazilian Symposium on formal methods >A Type-Directed Algorithm to Generate Well-Typed Featherweight Java Programs
【24h】

A Type-Directed Algorithm to Generate Well-Typed Featherweight Java Programs

机译:一种类型定向算法,用于生成类型良好的轻量级Java程序

获取原文

摘要

Property-based testing of compilers or programming languages semantics is difficult to accomplish because it is hard to design a random generator for valid programs. Most compiler test tools do not have a well-specified way of generating type-correct programs, which is a requirement for such testing activities. In this work, we formalize a type-directed procedure to generate random well-typed programs in the context of Featherweight Java, a well-known object-oriented calculus for the Java programming language. We implement the approach using the Haskell programming language and verify it against relevant properties using QuickCheck, a library for property-based testing.
机译:基于属性的编译器或编程语言语义测试很难完成,因为很难为有效程序设计随机生成器。大多数编译器测试工具都没有明确指定的生成类型正确程序的方式,而这是此类测试活动所必需的。在这项工作中,我们将形式化的过程形式化,以在Featherweight Java(用于Java编程语言的众所周知的面向对象演算)的上下文中生成随机的类型良好的程序。我们使用Haskell编程语言实现该方法,并使用QuickCheck(基于属性的测试库)针对相关属性对其进行验证。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号