📖
Towards a K Semantics for OCL
Andrei Arusoaie, Dorel Lucanu, Vlad Rusu

Towards a K Semantics for OCL

Science & Mathematics Published 2011 Verification Pending

Overview & Synopsis

We give a formal definition to a significant subset of the Object Constraint Language (OCL) in the K framework. The chosen subset includes the usual arithmetical, Boolean (including quantifiers), and string expressions; collection expressions (including iterators and navigation); and pre/post conditions for methods. Being executable, our definition provides us, for free, with an interpreter for the chosen subset of OCL. It can be used for free in K definitions of languages having OCL as a component We illustrate some of the advantages of K by comparing our semantical definition of OCL with the official semantics from the language's standard. We also report on a tool implementing our definition that users can try online.

Advertisement
SPONSOR CONTENT
Indexed from repository: HAL Open Science (hal.science)
Loading document from verified source...
Keyboard Shortcuts: ← / → for pages • + / - for zoom • 0 to fit width Powered by Mozilla PDF.js v3.11

Document Information

Document Title Towards a K Semantics for OCL
Author / Organization Andrei Arusoaie, Dorel Lucanu, Vlad Rusu
Subject & Discipline Multidisciplinary Academic Open Research
Categories Science & Mathematics
Publication Year 2011
License / Rights Open Access / Creative Commons
Resource Verification Listed PDF (Verification Pending)
Original Host Website HAL Open Science (hal.science)
File Format application/pdf (Portable Document Format)
Language EN
Catalog ID DOC-60038
Original Source Link Visit Source Page on hal.science »