Skip to content

Releases: Cod-e-Codes/cobol-to-python

Initial Release - COBOL-to-Python Converter

12 Dec 17:52
Compare
Choose a tag to compare

COBOL-to-Python Converter v1.0.0

This is the initial release of the COBOL-to-Python Converter, a utility tool designed to streamline the migration of legacy COBOL applications to modern Python-based systems. This release includes the core functionality needed to parse COBOL source code and generate equivalent Python scripts that preserve the structure and logic of the original program.

Key Features

  • Parses COBOL source code, including:
    • IDENTIFICATION, ENVIRONMENT, DATA, and PROCEDURE divisions.
    • File assignments (e.g., SELECT ... ASSIGN TO).
    • Record and variable declarations.
  • Converts COBOL working storage and file structures into Python classes and variables.
  • Generates Python code with placeholder logic for file reading and processing.
  • Includes a complexity analysis feature to summarize key COBOL program metrics.

Usage Instructions

  1. Download the release:
    • Download the provided ZIP archive or clone the repository from the main branch.
  2. Prerequisites:
  3. Run the converter:
    python cobol_converter.py <input_cobol_file> <output_python_file>
  4. Output:
    • The tool generates a Python script equivalent to the provided COBOL source file, saved to the specified output path.

Notes

  • Refer to the included README.md for more detailed setup and usage instructions.
  • This version is best suited for processing simple COBOL programs; additional functionality for more complex COBOL features will be added in future releases.

Full Changelog: https://github.com/Cod-e-Codes/cobol-to-python/commits/v1.0.0