Skip to main content

B-OCL

Project description

BESSER Object Constraint Language Interpreter

B-OCL is a tool designed to parse and evaluate the OCL constraints designed on BESSER models. It is a python based implementation, that utilises parser and listener generated with the ANTLR4 grammer.

BESSER is a low-modeling low-code open-source platform built on top of our Python-based personal interpretation of a "Universal Modeling Language"

Basic Installation

We have tested B-OCL with python 3.9+. We recommend creating a virtual environment using venv <https://docs.python.org/3/tutorial/venv.html>, or conda <https://docs.conda.io/en/latest/>).

Dependencies


B-OCL depends on BESSER for parsing the OCL constraints and providing a concrete syntax tree (CST) to evaluate. The latest stable version of BESSER is available in the Python Package Index (PyPi) and can be installed using

$ pip install besser

B-OCL Installation

Stable version of B-OCL interpreter can be installed via

$ pip install bocl

Building From Source

To obtain the full code, including examples and tests, you can clone the git repository.

$ git clone https://github.com/BESSER-PEARL/b-ocl-Interpreter
$ cd b-ocl-Interpreter

To install the reqs please run the following commands in virtual environment (recommended)

$ pip install -r requirements.txt

Contributing

We encourage contributions from the community and any comment is welcome!

If you are interested in contributing to this project, please read the CONTRIBUTING.md file.

Code of Conduct

At BESSER, our commitment is centered on establishing and maintaining development environments that are welcoming, inclusive, safe and free from all forms of harassment. All participants are expected to voluntarily respect and support our Code of Conduct.

Governance

The development of this project follows the governance rules described in the GOVERNANCE.md document.

Contact

You can reach us at: info@besser-pearl.org

Website: https://besser-pearl.github.io/website/

Documentation

More details about B-OCL can be found here https://b-ocl-interpreter.readthedocs.io/en/latest/

License

This project is licensed under the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bocl-0.2.0.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

bocl-0.2.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file bocl-0.2.0.tar.gz.

File metadata

  • Download URL: bocl-0.2.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.1

File hashes

Hashes for bocl-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c7155a951c071a2e342251ca2dc0feb2c33b06b7fa192893c5447343e07f0c0d
MD5 8d87be4011747b77508911af7b37d491
BLAKE2b-256 7d79a9d092ef2094dd209701344d26fa0cef55664ffcee5cb2abd41ed3d41957

See more details on using hashes here.

File details

Details for the file bocl-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: bocl-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.1

File hashes

Hashes for bocl-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a84fa6b1bf6e731b13370a886affd23d9a82564f2234e35cd9c00fb29617d093
MD5 caed58479cbffac4492a9b0e89fa223f
BLAKE2b-256 20b91f224ac3b6aaa30efc7eb81b751ac885d97690537cd86d35b7b904eabaff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page