Bsl Lang

B 82 completed
Library
cli / python · small
120
Files
18,992
LOC
1
Frameworks
5
Languages

Pipeline State

completed
Run ID
#304066
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Skipped
Decision
skip_scaffold_dup
Novelty
48.67
Framework unique
Isolation
Last stage change
2026-04-16 18:15:42
Deduplication group #47941
Member of a group with 1 similar repo(s) — canonical #9446 view group →
Top concepts (9)
Project DescriptionpresentationtestingTestingAuthenticationTestingDatabaseFile ManagementSearch
Repobility analyzer · published findings · https://repobility.com

AI Prompt

Build me a command-line toolkit in Python for working with Behavioral Specification Languages (BSL). I need it to include functionality for parsing, validating, formatting, and linting BSL files. Specifically, the CLI should have subcommands for `validate`, `fmt`, `lint`, and `diff`. The parser should handle EBNF grammar for blocks like `behavior`, `invariant`, and `composition`, and the validator should support configurable rule sets. It should also output a JSON Schema representation of the AST.
python cli parser validator linter bsl command-line json ebnf
Generated by gemma4:latest

Catalog Information

The BSL-Lang project is a toolkit for working with Behavioral Specification Languages, providing tools for parsing, validating, formatting, and linting.

Description

BSL-Lang is a collection of tools for working with Behavioral Specification Languages. It includes a parser to analyze and understand the language's syntax, a validator to ensure that specifications conform to the language's rules, a formatter to make specifications more readable, and a linter to catch errors in the specification.

الوصف

هذا المجموعة من الأدوات هي لتعامل مع اللغات الوصفية السلوكية. تشمل أداة التحليل للفهم من بناء الجملة، وأداة التحقق للتأكد من أن التوصيفات تناسب القواعد، وأداة التنسيق لتسهيل القراءة، وأداة التحذير لاكتشاف الأخطاء في التوصيف.

Novelty

5/10

Tags

behavioral-specification-language parser validator formatter linter

Technologies

click pydantic rich

Claude Models

claude-opus-4.6 claude-sonnet-4.6

Quality Score

B
82.0/100
Structure
95
Code Quality
65
Documentation
90
Testing
85
Practices
70
Security
100
Dependencies
80

Strengths

  • CI/CD pipeline configured (github_actions)
  • Good test coverage (64% test-to-source ratio)
  • Code linting configured (ruff (possible))
  • Consistent naming conventions (snake_case)
  • Good security practices \u2014 no major issues detected
  • Containerized deployment (Docker)
  • Properly licensed project

Weaknesses

  • 1178 duplicate lines detected \u2014 consider DRY refactoring
  • 3 'god files' with >500 LOC need decomposition

Recommendations

  • Address 28 TODO/FIXME items \u2014 consider tracking them as issues

Security & Health

11.1h
Tech Debt (B)
High
DORA Rating
A
OWASP (100%)
Source: Repobility analyzer · https://repobility.com
PASS
Quality Gate
A
Risk (1)
Apache-2.0
License
5.9%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

python
95.1%
json
1.9%
yaml
1.4%
markdown
1.2%
toml
0.4%

Frameworks

pytest

Symbols

method242
variable242
constant173
function108
class91
property24
protocol1

Concepts (9)

Open data · scored by Repobility · https://repobility.com
CategoryNameDescriptionConfidence
Want this analysis on your repo? https://repobility.com/scan/
auto_descriptionProject DescriptionBehavioral Specification Language toolkit: parser, validator, formatter, linter80%
arch_layerpresentationDetected presentation layer70%
arch_layertestingDetected testing layer70%
auto_categoryTestingtesting70%
business_logicAuthenticationDetected from 2 related files50%
business_logicTestingDetected from 39 related files50%
business_logicDatabaseDetected from 3 related files50%
business_logicFile ManagementDetected from 2 related files50%
business_logicSearchDetected from 2 related files50%

Quality Timeline

1 quality score recorded.

View File Metrics
Repobility · MCP-ready · https://repobility.com

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/27893.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV

BinComp Dependency Hardening

All packages →
3 of this repo's dependencies have been scanned for binary hardening. Grade reflects RELRO / stack canary / FORTIFY / PIE coverage.
Nclick8.3.2 · 0 gadgets · risk 0.0Npytest9.0.3 · 0 gadgets · risk 0.0Nrich14.3.4 · 0 gadgets · risk 0.0