Skip to content

squid-protocol/cobol_to_java_examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌌 GitGalaxy: COBOL to Java Translation Examples

This repository contains 10 unedited, auto-generated Spring Boot architectures created by the GitGalaxy deterministic legacy migration pipeline.

These outputs were generated seamlessly via our automated batch test harness. They are designed to prove the structural integrity of our extraction engine—demonstrating that GitGalaxy can generate perfectly compiling, architecturally sound Java environments before AI is introduced to handle the internal logic.

🏗️ What You Are Looking At

Each folder in this repository represents a distinct legacy COBOL codebase that has been translated into a modern Spring Boot 3.2 microservice architecture.

If you click into any of these examples, you will find:

  • pom.xml & application.yml: A complete, ready-to-use Maven build system.
  • src/main/java/.../entity/: Legacy PIC, OCCURS, and REDEFINES clauses translated into flawless JPA Entities.
  • src/main/java/.../controller/: Legacy DAG lineage intent mapped into modern REST Controller endpoints.
  • src/main/java/.../service/: Auto-wired service layers containing Mock Services to safely catch unresolved external mainframe calls.
  • ai_agent_jobs/: The strict JSON task tickets generated for autonomous AI agents to fill in the isolated business logic.

🧪 100% Compilable

Every single architecture in this repository compiles out-of-the-box. You can clone this repository, navigate into any of the example folders, and run:

mvn clean compile

📂 The Corpus Examples

We selected a diverse array of structural complexities for this showcase, avoiding recursive outputs to provide a clean look at standard and edge-case translations:

  1. cics-genapp: The gold standard IBM benchmark (Enterprise CICS/DB2).
  2. gnucobol: A heavyweight compiler (Massive size, complex structure).
  3. CICS-Cobol: A standard mainframe transactional workload.
  4. cics-java-jcics-samples: Complex legacy bridging and wrappers.
  5. cobol-programming-course: Algorithmic snippets and standard educational paradigms.
  6. cobrix: A modern big-data parser dealing with mainframe layouts.
  7. otterkit: A compiler/toolchain stress test.
  8. cobol-samples: Pure data-processing examples.
  9. vscode_cobol: Edge-case syntax highlighting tool architecture.
  10. fake_cobol_repo: Intentionally malformed or edge-case testing code.

Generated automatically via the GitGalaxy Batch Test Harness.

Releases

No releases published

Packages

 
 
 

Contributors

Languages