A Trusted Mechanised Specification of JavaScript: One Year On
暂无分享,去创建一个
The JSCert project provides a Coq mechanised specification of the core JavaScript language. A key part of the project was to develop a methodology for establishing trust, by designing JSCert in such a way as to provide a strong connection with the JavaScript standard, and by developing JSRef, a reference interpreter which was proved correct with respect to JSCert and tested using the standard Test262 test suite. In this paper, we assess the previous state of the project at POPL’14 and the current state of the project at CAV’15. We evaluate the work of POPL’14, providing an analysis of the methodology as a whole and a more detailed analysis of the tests. We also describe recent work on extending JSRef to include Google’s V8 Array library, enabling us to cover more of the language and to pass more tests.
[1] Daejun Park,et al. KJS: a complete formal semantics of JavaScript , 2015, PLDI.
[2] Arthur Charguéraud,et al. A trusted mechanised JavaScript specification , 2014, POPL.
[3] Arthur Charguéraud,et al. Pretty-Big-Step Semantics , 2013, ESOP.
[4] Ankur Taly,et al. An Operational Semantics for JavaScript , 2008, APLAS.