Skip to content

Web Explorer for Object Constraint Language (in active development)

License

Notifications You must be signed in to change notification settings

it1shka/ocl-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Explorer for OCL (Object Constraint Language)

Screenshot 2024-06-02 at 18 36 51

Motivation

Object Constraint Language (OCL) is studied at universities across the world, yet there are no lightweight tools to experiment with the language. I tried to fill that gap by creating a web application allowing users to write short programs in javascript / typescript and verify them using OCL syntax

How to use

OCL features list can be found here: OCL.js Reference I suggest you to pack your code into classes with proper field typeName (OCL.js uses typeName to infer match object types to appropriate contexts). After that, you can use builtin verify(obj) function to verify instances of those classes

Online hosted version:

Here you can find online version of that tool: http://150.230.149.120/