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-1.0.2.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: bocl-1.0.2.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for bocl-1.0.2.tar.gz
Algorithm Hash digest
SHA256 b761277563d202ad648bac4d765f33c18b9ceb3dea12f155e747ab9f2a0ea098
MD5 b1bd5b1479248519a5bed3eb79e9b638
BLAKE2b-256 2fbb66d3ba9f610d55a14d7ad830a2641a9b093500e697527723d8c765dbe0d7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for bocl-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c0c4319a81e89dfb46f535d21d98745df46a0a5e07d8b05f3c6775a2d2781dbb
MD5 49333ad0e8f6bca220198599d0986360
BLAKE2b-256 62399c73c95e3d953c22120e3b272a655360cc8ebb29d6af630370c940223e8a

See more details on using hashes here.

Supported by

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