"Bagatelle in C arranged for VDM SoLo"

dc.creatorOliveira,José
dc.date2001
dc.date.accessioned2024-02-06T12:51:21Z
dc.date.available2024-02-06T12:51:21Z
dc.descriptionThis paper sketches a reverse engineering discipline which combines formal and semi-formal methods. Central to the former is denotational semantics, expressed in the ISO/IEC 13817-1 standard specification language (VDMSL). This is strengthened with algebra of programming, which is applied in "reverse order" so as to reconstruct formal specifications from legacy code. The latter include code slicing, a "shortcut" which trims down the complexity of handling the formal semantics of all program variables at the same time. A key point of the approach is its constructive style. Reverse calculations go as far as absorbing auxiliary variables, introducing mutual recursion (if applicable) and reversing semantic denotations into standard generic programming schemata such as cata/paramorphisms. The approach is illustrated for a small piece of code already studied in the code-slicing literature: Kernighan and Richtie's word count C programming "bagatelle".
dc.formattext/html
dc.identifierhttps://doi.org/10.3217/jucs-007-08-0754
dc.identifierhttps://lib.jucs.org/article/27816/
dc.identifier.urihttps://openrepository.mephi.ru/handle/123456789/8005
dc.languageen
dc.publisherJournal of Universal Computer Science
dc.relationinfo:eu-repo/semantics/altIdentifier/eissn/0948-6968
dc.relationinfo:eu-repo/semantics/altIdentifier/pissn/0948-695X
dc.rightsinfo:eu-repo/semantics/openAccess
dc.rightsJ.UCS License
dc.sourceJUCS - Journal of Universal Computer Science 7(8): 754-781
dc.subjectreverse engineering
dc.subjectdenotational semantics
dc.subjectslicing
dc.subjectalgebra of programming
dc.title"Bagatelle in C arranged for VDM SoLo"
dc.typeResearch Article
Файлы