KJS: A Complete Formal Semantics of JavaScript
github.com·7h·
Discuss: Hacker News
📜Proof Carrying Code
Preview
Report Post

KJS: A Complete Formal Semantics of JavaScript

KJS is the most complete and throughly tested formal semantics of JavaScript to date. Being executable, KJS has been tested against the ECMAScript conformance test suite, and passes all 2,782 core language tests.

In addition to a reference implementation for JavaScript, KJS also yields a semantic coverage metric for a test suite: the set of semantic rules it exercises. See test262-coverage for details.

Being symbolically executable, KJS can also be used for formal analysis and verification of JavaScript programs. This is demonstrated by verifying non-trivial programs ([verification](https://github.com/kframe…

Similar Posts

Loading similar posts...