Graphify's language support expansion to include COBOL.
Raw Developer Origin & Technical Request
GitHub Issue
Apr 7, 2026
It would be very valuable to add support for COBOL source code to Graphify, enabling analysis and graph generation for legacy enterprise systems.
Motivation:
COBOL is still widely used in banking, insurance, and government systems. Many organizations are actively trying to understand and modernize large COBOL codebases, and Graphify could be a powerful tool for:
- Visualizing program dependencies
- Understanding call relationships ("CALL", "PERFORM")
- Mapping copybook usage ("COPY")
- Supporting modernization and migration efforts
Proposed Approach:
Graphify already has a clean architecture for adding new languages via tree-sitter, so COBOL support could follow the same pattern:
1.Add COBOL Parser
- Integrate a tree-sitter grammar such as "tree-sitter-cobol"
- Ensure compatibility with COBOL85 (initially?)
2.Add File Extensions
Update detection and watch logic to include:
- ".cob"
- ".cbl"
- ".cpy" (copybooks)
- optionally ".cobol"
3.Implement LanguageConfig
Define a COBOL-specific "LanguageConfig" in "extract.py", including:
- node types for programs, sections, paragraphs
- call expressions
- copy/include handling
4.Map COBOL Constructs to Graph Model
Suggested mappings:
- "PROGRAM-ID" / "FUNCTION-ID" → top-level nodes
- "SECTION" / "PARAGRAPH" → callable units
- "CALL "program"" → "calls" edges
- "PERFORM paragraph" → internal call edges
- "COPY copybook" → "imports" / "includes" edges
5.Handle COBOL-Specific Nuances
- Fixed vs free format source
- Copybooks ("COPY"...
Developer Debate & Comments
No active discussions extracted for this entry yet.
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from safishamsi/graphify.
Engagement Signals
Cross-Market Term Frequency
Quantifies the cross-market adoption of foundational terms like COBOL source code and legacy enterprise systems by tracking occurrence frequency across active SaaS architectures and enterprise developer debates.
SaaS Metrics