Skip to content

Unify Tree-sitter implementation between CodeCharta and DependaCharta #133

Description

@ChristianHuehn

Feature request

Description

As a developer, I want a unified Tree-sitter implementation shared between CodeCharta and DependaCharta so that we can reduce duplication and maintain consistency across projects.

Acceptance criteria

  • Common Tree-sitter parsing logic is extracted into a shared module/library
  • Both CodeCharta and DependaCharta use the unified implementation
  • All existing functionality is preserved
  • Tests pass in both projects after migration
  • Documentation explains the shared architecture

Assumptions & Exclusions

  • Assumes CodeCharta and DependaCharta have similar Tree-sitter usage patterns
  • May require coordination with CodeCharta team
  • Could be published as a separate package or submodule

Development notes (optional Task Breakdown)

  • Analyze current Tree-sitter implementations in both projects
  • Identify common patterns and differences
  • Design unified API/interface
  • Extract shared code into common module
  • Integrate unified implementation into DependaCharta
  • Coordinate integration with CodeCharta team
  • Add tests for the unified implementation
  • Update documentation

Open questions

  • Should this be a separate npm/Maven package or a shared submodule?
  • What are the key differences in how each project uses Tree-sitter?
  • Who will coordinate the CodeCharta side of the integration?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions