K-Java
Denis Bogdanas, Grigore Roşu · ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) · 2014
This paper presents K-Java, a complete executable formal semantics of Java 1.4. K-Java was extensively tested with a test suite developed alongside the project, following the Test Driven Development methodology. In order to maintain clarity while handling the great size of Java, the semantics was split into two separate definitions -- a static semantics and a dynamic semantics. The output of the static semantics is a preprocessed Java program, which is passed as input to the dynamic semantics for execution. The preprocessed program is a valid Java program, which uses a subset of the features of Java. The semantics is applied to model-check multi-threaded programs. Both the test suite and the static semantics are generic and ready to be used in other Java-related projects.
Cited by 126 works. doi:10.1145/2676726.2676982
Authors
References
- The Java Language Specification
- Java Language Specification, Second Edition: The Java Series
- Making the future safe for the past
- The syntax definition formalism SDF—reference manual—
- An overview of the K semantic framework
- An executable formal semantics of C with applications
- Java and the Java Virtual Machine: Definition, Verification, Validation
- An executable formal semantics of C with applications
- A Programmer’s Reduction Semantics for Classes and Mixins
- Java and the Java Virtual Machine: Definition, Verification, Validation with Cdrom