Embedded Languages in Magic Comments
Describe the Embedded Languages in Magic Comments?
Expert
In this approach, contracts are specified using a separate notation that is embedded in comments, using special compilers to turn annotations into instrumentation. Two typical implementations of this category are SPARKAda and the Java Modeling Language (JML).
SPARKAda (SPARKAda website) is an Ada95 subset with a rich set of annotations that exceeds runtime instrumentation. The SPARKAda tool suite includes extensive static analysis and proof checkers.
While SPARKAda is well documented, it is only available from a single commercial vendor.
The Java Modeling Language (JML website) is an open source language extension for Java. It provides additional expressions that especially focus on avoiding side effects of contracts.
Using a contract language that is embedded in comments, but can easily access features of the relevant program scope, is almost as powerful as direct language support. The downside is that this approach usually requires a target language compiler re-implementation (an Ada or Java compiler), which imposes a serious tool dependency.
Model Checking SAFM: Our intention was to use JPF for program model checking of these properties. The SAFM code was partially translated to Java using Propel, a C++-to-Java translator that was being developed for the purpose of bringing model checking
Discuss the effect of environmental parameters and pollution on human health.
Homestead Strike of 1892: The Homestead Strike of 1982 was an industrial strike occurred due to dispute at the Homestead Steel Works in Homestead town. The dispute turned into a battle between private security holders and the protestors. It was the se
Normal 0 false false
What kind of brand of the milk has lactobacilliacidophilus in it?
18,76,764
1938966 Asked
3,689
Active Tutors
1455778
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!