ComputingComputer ScienceFormal MethodsProgramming LanguagesSoftware EngineeringApplication Programming InterfacesControl-flow AnalysisData-flow AnalysisSoftware TestingType CheckingType SystemsExecutable SpecificationsStatic SemanticsTest Suite GenerationTest-driven DevelopmentTesting
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.
11
Making the future safe for the past
Gilad Bracha, Martin Odersky, David Stoutamire et al. · 1998 · 503 citations · Full text
The syntax definition formalism SDF—reference manual—
Jan Heering, Paul Hendriks, Paul Klint et al. · ACM SIGPLAN Notices · 1989 · 269 citations
An executable formal semantics of C with applications
Chucky Ellison, Grigore Roşu · 2012 · 165 citations
A trusted mechanised JavaScript specification
Martin Bodin, Arthur Charguéraud, Daniele Filaretti et al. · 2014 · 86 citations