首页 | 本学科首页   官方微博 | 高级检索  
     


The Racket virtual machine and randomized testing
Authors:Casey Klein  Matthew Flatt  Robert Bruce Findler
Affiliation:1.Electrical Engineering and Computer Science Department,Northwestern University,Evanston,USA;2.School of Computing,University of Utah,Salt Lake City,USA
Abstract:We present a PLT Redex model of a substantial portion of the Racket virtual machine and bytecode verifier (formerly known as MzScheme), along with lessons learned in developing the model. Inspired by the “warts-and-all” approach of the VLISP project, in which Wand et al. produced a verified implementation of Scheme, our model reflects many of the realities of a production system. Our methodology departs from the VLISP project’s in its approach to validation; instead of producing a proof of correctness, we explore the use of QuickCheck-style randomized testing, finding it a cheap and effective technique for discovering a variety of errors in the model—from simple typos to more fundamental design mistakes.
Keywords:
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号