Skip to content

Proposal: add BSL (1C Enterprise) context #1378

@Alex1980Alex

Description

@Alex1980Alex

Motivation

1C:Enterprise uses BSL (Built-in Scripting Language) — a Cyrillic-native language used by millions of developers in Russia/CIS. The Serena codebase already includes experimental BSL Language Server support (bsl_language_server.py, 551 lines), but there's no dedicated context configuration for BSL developers.

Proposal

Add src/serena/resources/config/contexts/bsl.yml with:

  • BSL-specific prompt guidance (Cyrillic identifiers, EDT project structure, export visibility semantics)
  • Tool allowlist optimized for BSL (symbol navigation, pattern search)
  • execute_shell_command excluded (BSL has no REPL equivalent)

Why opt-in

BSL is niche compared to Python/TS/Go/Rust. Making it opt-in (--context bsl) ensures zero impact on default Serena behavior while providing value to BSL users who want Serena-aware coding assistance.

Artifact

The proposed file is ~20 lines of YAML. Only 1 new file needed — no changes to any existing code.

Would a PR adding this context be welcome?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions