https://github.com/bigraph-toolkit-suite/bigraphs.bdsl-interpreter-parent

An interpreter for BDSL | Grammar: https://github.com/bigraph-toolkit-suite/bigraphs.bdsl-core-elements

https://github.com/bigraph-toolkit-suite/bigraphs.bdsl-interpreter-parent

Science Score: 26.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
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

An interpreter for BDSL | Grammar: https://github.com/bigraph-toolkit-suite/bigraphs.bdsl-core-elements

Basic Info
  • Host: GitHub
  • Owner: bigraph-toolkit-suite
  • License: apache-2.0
  • Language: Java
  • Default Branch: main
  • Homepage:
  • Size: 938 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 2
Created over 1 year ago · Last pushed 10 months ago
Metadata Files
Readme License

README.md

logo of bdsl interpreter

Latest Version: 2.2.1

  • BDSL user guide: https://nbn-resolving.org/urn:nbn:de:bsz:14-qucosa2-752170
  • For Users: See Getting Started for how to install and run the standalone interpreter.

- For Developers: See Development if you want to build locally.

BDSL Interpreter Framework

The BDSL Interpreter Framework provides an extensible framework for basic BDSL language engineering (e.g., interpreting custom BDSL scripts). The framework is organized as a multi-module Maven project. Each module in this project focuses on a specific set of features to enable the development of BDSL-based applications.

Below is an overview of the project and its modules:

Project Modules: - bdsl-interpreter-parent: Acts as the parent module for the entire project, managing shared configurations, dependencies, and build settings for all submodules. - bdsl-interpreter-cli: Implements a command-line tool for interacting with the functionality of the BDSL Interpreter Framework. - bdsl-interpreter-core: Contains the core components of the BDSL interpreter. This module defines the parsing framework (visitor design pattern, extension methods) required for general BDSL language interpretation. It depends on the BDSL Grammar and evaluates the individual language statements. - bdsl-execution-common: Provides the common execution environment and reusable strategies for the BDSL interpreter. This module encapsulates shared execution logic, environment management, and strategy definitions.

Version Compatibility

| BDSL Interpreter Release | BDSL Core Elements (Grammar) | Bigraph Framework | |--------------------------|------------------------------|-------------------| | 2.2.1 (current) | 2.0.1 | 2.2.0 | | 2.2.0 | 2.0.1 | 2.2.0 | | 2.0.1 | 2.0.1 | 2.0.1 |

Screenshot of the Standalone Tool

screenshot-of-bdsl-interpreter

Command: java -jar bdsl.jar --main=./test_bdsl_01.bdsl
Source: testbdsl01.bdsl

Getting Started

Standalone Tool

Related Module: bdsl-interpreter-cli

Refer here for installation.

The functionality of the BDSL Interpreter Framework is made available directly under the terminal.

Usage:

bash $ java -jar bdsl.jar --version $ java -jar bdsl.jar --main=./program.bdsl <other-options...> $ java -jar bdsl.jar --help

Framework Usage

Maven Configuration

xml <dependencies> <!-- Core: Low-level building blocks of the interpreter --> <dependency> <groupId>org.bigraphs.dsl.interpreter</groupId> <artifactId>bdsl-interpreter-core</artifactId> <version>VERSION</version> </dependency> <!-- CLI: the high-level building block to access command-line interface parser --> <dependency> <groupId>org.bigraphs.dsl.interpreter</groupId> <artifactId>bdsl-interpreter-cli</artifactId> <version>VERSION</version> </dependency> <!-- Exec: Advanced BDSL Statement Executions --> <dependency> <groupId>org.bigraphs.dsl.interpreter</groupId> <version>VERSION</version> <artifactId>bdsl-execution-common</artifactId> </dependency> </dependencies>

Development

Requirements:

  • Java >= 17
  • Maven >= 3.8.3

To build the project and all its individual components:

Building

shell $ mvn clean package -DskipTests

To build the standalone BDSL interpreter tool: bash $ mvn clean package -DskipTests -Pbuild-cli

After executing the command above, the tool is available under ./out/ from the root directory of this project.

Dependencies

This project uses Bigraph Framework to perform all elementary underlying bigraph model operations. The grammar, parser and other DSL-related things come from BDSL Grammar.

This BDSL interpreter project uses both dependencies to implement the fundamental interpretation logic and the command-line tool of the interpreter.

Refer to the README.md of the respective submodules for more details on how to use the whole BDSL interpreter Framework.

Deployment

To deploy the BDSL Interpreter Framework to the Central Repository: bash $ mvn clean deploy -DskipTests -P release,central

Settings

The Sonatype account details (username + password) for the deployment must be provided to the Maven Sonatype Plugin as used in the project's pom.xml file.

The Maven GPG plugin is used to sign the components for the deployment. It relies on the gpg command being installed: shell sudo apt install gnupg2

and the GPG credentials being available e.g. from settings.xml.

More details can be found link:https://central.sonatype.org/publish/requirements/gpg/[here].

License

Bigraph Interpreter is Open Source software released under the Apache 2.0 license.

```text Copyright 2020-present Bigraph Toolkit Developers

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ```

Owner

  • Name: Bigraph Toolkit Suite
  • Login: bigraph-toolkit-suite
  • Kind: organization

BTS refers to a software product family for the research and development of bigraphical reactive systems.

GitHub Events

Total
  • Release event: 2
  • Delete event: 1
  • Push event: 4
  • Public event: 1
  • Create event: 1
Last Year
  • Release event: 2
  • Delete event: 1
  • Push event: 4
  • Public event: 1
  • Create event: 1

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 14
  • Total Committers: 1
  • Avg Commits per committer: 14.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 14
  • Committers: 1
  • Avg Commits per committer: 14.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Dominik Grzelak d****k@o****t 14
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

Packages

  • Total packages: 4
  • Total downloads: unknown
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 12
repo1.maven.org: org.bigraphs.dsl.interpreter:bdsl-interpreter-parent

BDSL Interpreter Framework constitute functionalities for interpreting and executing BDSL models. It is organized as multi-module Maven project, featuring the core architecture (visitor design), a command-line interface tool, and a shared library for abstract execution logic handling.

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 32.2%
Dependent packages count: 46.0%
Average: 51.1%
Forks count: 60.6%
Stargazers count: 65.5%
Last synced: 10 months ago
repo1.maven.org: org.bigraphs.dsl.interpreter:bdsl-interpreter-cli

BDSL Interpreter Framework constitute functionalities for interpreting and executing BDSL models. It is organized as multi-module Maven project, featuring the core architecture (visitor design), a command-line interface tool, and a shared library for abstract execution logic handling.

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 32.2%
Dependent packages count: 46.0%
Average: 51.1%
Forks count: 60.6%
Stargazers count: 65.5%
Last synced: 10 months ago
repo1.maven.org: org.bigraphs.dsl.interpreter:bdsl-execution-common

Execution Strategies for BDSL Statements.

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 32.2%
Dependent packages count: 46.0%
Average: 51.1%
Forks count: 60.6%
Stargazers count: 65.5%
Last synced: 10 months ago
repo1.maven.org: org.bigraphs.dsl.interpreter:bdsl-interpreter-core

The core features of the BDSL interpreter

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 32.2%
Dependent packages count: 46.0%
Average: 51.1%
Forks count: 60.6%
Stargazers count: 65.5%
Last synced: 10 months ago

Dependencies

bdsl-execution-common/pom.xml maven
  • org.slf4j:slf4j-reload4j provided
  • org.bigraphs.dsl.interpreter:bdsl-interpreter-core
  • org.springframework.boot:spring-boot-autoconfigure
  • org.springframework.boot:spring-boot-configuration-processor
  • org.springframework.boot:spring-boot-starter-batch
  • org.springframework:spring-context
  • org.springframework:spring-context-support
  • org.springframework.boot:spring-boot-starter-test test
bdsl-interpreter-cli/pom.xml maven
  • org.slf4j:slf4j-reload4j provided
  • commons-cli:commons-cli
  • net.bytebuddy:byte-buddy-agent 1.11.2
  • org.apache.commons:commons-lang3
  • org.bigraphs.dsl.interpreter:bdsl-execution-common
  • org.bigraphs.dsl.interpreter:bdsl-interpreter-core
  • org.springframework.boot:spring-boot-autoconfigure
  • org.springframework.boot:spring-boot-configuration-processor
  • org.eclipse.xtext:org.eclipse.xtext.testing test
  • org.springframework.boot:spring-boot-starter-test test
bdsl-interpreter-core/pom.xml maven
  • org.slf4j:slf4j-reload4j provided
  • com.google.guava:guava
  • com.google.inject:guice
  • org.eclipse.emf:org.eclipse.emf.codegen
  • org.eclipse.emf:org.eclipse.emf.codegen.ecore
  • org.eclipse.xtext:org.eclipse.xtext
  • org.eclipse.xtext:org.eclipse.xtext.common.types
  • org.eclipse.xtext:org.eclipse.xtext.util
  • org.eclipse.xtext:org.eclipse.xtext.xbase
  • org.eclipse.xtext:org.eclipse.xtext.xtext.generator
  • org.eclipse.xtext:org.eclipse.xtext.testing test
pom.xml maven
  • org.projectlombok:lombok 1.18.20 provided
  • org.bigraphs.dsl:bdsl-grammar 2.0.1
  • org.bigraphs.framework:bigraph-converter 2.0.1
  • org.bigraphs.framework:bigraph-core 2.0.1
  • org.bigraphs.framework:bigraph-simulation 2.0.1
  • org.junit.jupiter:junit-jupiter 5.8.1 test
  • org.junit.jupiter:junit-jupiter-api 5.8.1 test