skip to main content
10.1145/3550356.3561565acmconferencesArticle/Chapter ViewAbstractPublication PagesmodelsConference Proceedingsconference-collections
research-article

OCL libraries for software specification and representation

Published:09 November 2022Publication History

ABSTRACT

The OCL 2.4 standard library has a relatively small set of operations for primitive types, and no facilities for common software aspects such as processes and files. In this paper we identify requirements for extended library facilities, based on examination of related specification languages, and on consideration of the need to represent program semantics for software migration. We outline possible libraries and provide example implementations.

References

  1. Acceleo project. 2022. https://www.eclipse.org/acceleo, accessed 1.5.2022.Google ScholarGoogle Scholar
  2. M. Agarwal, K. Talamadupula, F. Martinez, S. Houde, M. Muller, J. Richards, S. Ross, and J. Weisz. 2021. Using document similarity methods to create parallel datasets for code translation. asXiv:2110.05423v1 (2021).Google ScholarGoogle Scholar
  3. F. Buttner and M. Gogolla. 2014. On OCL-based imperative languages. Science of Computer Programming 92 (2014), 162--178.Google ScholarGoogle ScholarCross RefCross Ref
  4. X. Chen, C. Liu, and D. Song. 2018. Tree-to-tree Neural Networks for Program Translation. In 32nd Conference on Neural Information Processing Systems (NIPS 2018).Google ScholarGoogle ScholarCross RefCross Ref
  5. Eclipse. 2019. ATL user guide. eclipse.org (2019).Google ScholarGoogle Scholar
  6. Epsilon. 2022. The Epsilon Object Language, https://www.eclipse.org/epsilon/doc/eol.Google ScholarGoogle Scholar
  7. E. Gamma et al. 1995. Design Patterns. Addison-Wesley.Google ScholarGoogle Scholar
  8. Facebook Research. 2021. TransCoder, github.com/ facebookre-search/TransCoder.Google ScholarGoogle Scholar
  9. K. Jin and K. Lano. 2021. Mutation Operators for OCL Specification. In OCL '21, MODELS 2021 Workshops. 128--134.Google ScholarGoogle Scholar
  10. B. Kernighan and D. Ritchie. 1988. The C Programming Language (2nd ed.). Prentice Hall.Google ScholarGoogle Scholar
  11. K. Lano. 2021. Adding regular expression operators to OCL. In OCL 2021.Google ScholarGoogle Scholar
  12. K. Lano. 2022. Program translation using Model-driven engineering. In ICSE 2022 Companion Proceedings.Google ScholarGoogle Scholar
  13. OMG. 2014. Object Constraint Language (OCL) 2.4 Specification.Google ScholarGoogle Scholar
  14. Eclipse Organisation. 2022. https://download.eclipse.org/ocl/doc/6.4.0/ocl.pdf Eclipse OCL Version 6.4.0, https://projects.eclipse.org/projects/modeling.mdt.ocl.Google ScholarGoogle Scholar
  15. Eclipse QVTo project. 2022. Imperative OCL, wiki.eclipse.org/QVTo.Google ScholarGoogle Scholar

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Conferences
    MODELS '22: Proceedings of the 25th International Conference on Model Driven Engineering Languages and Systems: Companion Proceedings
    October 2022
    1003 pages
    ISBN:9781450394673
    DOI:10.1145/3550356
    • Conference Chairs:
    • Thomas Kühn,
    • Vasco Sousa

    Copyright © 2022 ACM

    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 9 November 2022

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • research-article

    Acceptance Rates

    Overall Acceptance Rate118of382submissions,31%

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader