https://github.com/besser-pearl/b-ocl-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 a parser and listener generated via an ANTLR4 grammar.

https://github.com/besser-pearl/b-ocl-interpreter

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.8%) to scientific vocabulary

Keywords

antlr4 besser business-rules business-rules-engine evaluating grammar interpreter model ocl parsing uml verification
Last synced: 5 months ago · JSON representation

Repository

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 a parser and listener generated via an ANTLR4 grammar.

Basic Info
Statistics
  • Stars: 23
  • Watchers: 3
  • Forks: 1
  • Open Issues: 5
  • Releases: 1
Topics
antlr4 besser business-rules business-rules-engine evaluating grammar interpreter model ocl parsing uml verification
Created almost 2 years ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License Code of conduct Governance

README.md

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.

Owner

  • Name: BESSER-PEARL
  • Login: BESSER-PEARL
  • Kind: organization
  • Email: jordi.cabot@list.lu
  • Location: Luxembourg

GitHub Events

Total
  • Create event: 1
  • Release event: 1
  • Issues event: 8
  • Watch event: 14
  • Member event: 1
  • Issue comment event: 2
  • Push event: 11
  • Pull request review event: 2
  • Pull request event: 1
  • Fork event: 1
Last Year
  • Create event: 1
  • Release event: 1
  • Issues event: 8
  • Watch event: 14
  • Member event: 1
  • Issue comment event: 2
  • Push event: 11
  • Pull request review event: 2
  • Pull request event: 1
  • Fork event: 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 7
  • Total pull requests: 0
  • Average time to close issues: 4 months
  • Average time to close pull requests: N/A
  • Total issue authors: 5
  • Total pull request authors: 0
  • Average comments per issue: 1.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 7
  • Pull requests: 0
  • Average time to close issues: 4 months
  • Average time to close pull requests: N/A
  • Issue authors: 5
  • Pull request authors: 0
  • Average comments per issue: 1.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jcabot (3)
  • FitashUlHaq (1)
  • jlcanovas (1)
  • ivan-alfonso (1)
  • ichxorya (1)
Pull Request Authors
Top Labels
Issue Labels
bug (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 41 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 4
  • Total maintainers: 1
pypi.org: bocl

B-OCL

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 41 Last month
Rankings
Dependent packages count: 10.9%
Average: 36.2%
Dependent repos count: 61.4%
Maintainers (1)
Last synced: 5 months ago

Dependencies

docs/requirements.txt pypi
  • furo ==2023.8.19
  • sphinx ==7.2.3
  • sphinx-copybutton ==0.5.2
  • sphinx-paramlinks ==0.6.0
pyproject.toml pypi
requirements.txt pypi
  • Arpeggio ==2.0.2
  • antlr4-python3-runtime ==4.13.1
  • besser *
  • colorama ==0.4.6
  • fastapi ==0.110.0
  • iniconfig ==2.0.0
  • jinja2 ==3.1.2
  • packaging *
  • pluggy ==1.2.0
  • pydantic ==2.6.3
  • pytest ==7.4.0
  • requests ==2.31.0
  • setuptools ==68.2.2
  • textX ==3.1.1
  • uvicorn ==0.28.0