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.0.tar.gz (13.6 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.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bocl-1.0.0.tar.gz
Algorithm Hash digest
SHA256 eb9edd70d85c9f3609c0bb9670e8e551b76d1c28bf024348aefe04f9106c5c46
MD5 fe26b5b04dd69b68d13e9af25aeb04fd
BLAKE2b-256 ed22da33dc1b475766c35187091c805e754d8886dcdef6b514484934f78b87ef

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for bocl-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0705e809e9b6ca7a9769a775d2707b11b444a19832824c35c36b6bd976e8d692
MD5 fe0e0b6f306db78429f8b0193d10a3d8
BLAKE2b-256 a4765b72d0a113fa3b2a8310b872f1afdf1fdfa8578545d39306abfc33cdcbdc

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