Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

OCL

< >

OCL is a programming language created in 1997.

#765on PLDB 27Years Old
Wikipedia

The Object Constraint Language (OCL) is a declarative language describing rules applying to Unified Modeling Language (UML) models developed at IBM and is now part of the UML standard. Initially, OCL was merely a formal specification language extension for UML. OCL may now be used with any Meta-Object Facility (MOF) Object Management Group (OMG) meta-model, including UML. Read more on Wikipedia...


Example from the web:
context Person inv: self.age >=0 context Person inv: self.age<18 implies self.cars->isEmpty()

Language features

Feature Supported Example Token
Comments -- A comment
Line Comments -- A comment --
Semantic Indentation X

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v164.7.0