/tree-sitter-cobol

A tree sitter implementation for COBOL

Primary LanguageJavaScriptMIT LicenseMIT

tree-sitter-cobol

A tree sitter implementation for COBOL

Project plan

Cobol is a complicated language to support since it exists in so many variants and dialects. Therefore, this project needs to focus at implementing only partial support and then grow from there.

Short term goals:

  • parse freeform cobol
  • parse nicely used copy constructs
  • parse ans85

task list:

  • Identification Division
  • Environment Division
    • Configuration Section (stub)
    • Input Output Section
      • IO Control Paragraph (almost)
      • File Control Paragraph
        • Record Sequential Files
        • Relative Files
        • Indexed Files
        • Sort Merge Files
  • Data Division
    • File Section
      • Record Sequential Files
    • Working Storage Section
    • Linkage Section
    • Communication Section
    • Report Section
  • Procedure Division

links