How gustavo2358/proleap-poc works
COBOL Structure Atlas analyzes a COBOL source file and copybooks, then generates locally openable static pages. The documented journey is parse tree → semantic AST → symbol table → reference resolution, with navigation back to source structure. The graph also includes coverage and storage-semantics capabilities visible in the supplied source. Main orchestration and some intermediate wiring are not shown in the excerpts, so only documented workflow links and explicit analysis inputs are drawn.
Main entry points: ExplorerMain.java Explorer entry · AstBuilder.java AST construction · CompilationUnitSymbolTableBuilder.java Symbol tables · CobolReferenceResolver.java Reference resolution
Components 17
COBOL analysis
- Explorer entry
src/main/java/io/github/gustavo2358/cobolexplorer/ExplorerMain.java - COPY preprocessing
src/main/java/io/github/gustavo2358/cobolexplorer/PreprocessorEngine.java - AST construction
src/main/java/io/github/gustavo2358/cobolexplorer/AstBuilder.java - Symbol tables
src/main/java/io/github/gustavo2358/cobolexplorer/CompilationUnitSymbolTableBuilder.java - Reference resolution
src/main/java/io/github/gustavo2358/cobolexplorer/CobolReferenceResolver.java
Semantic facts
- Semantic coverage
src/main/java/io/github/gustavo2358/cobolexplorer/SemanticCoverage.java - Storage layout
src/main/java/io/github/gustavo2358/cobolexplorer/StorageLayoutSemantics.java - Storage access facts
src/main/java/io/github/gustavo2358/cobolexplorer/StorageAccessSemantics.java
Products and export
- Semantic product
src/main/java/io/github/gustavo2358/cobolexplorer/semanticproduct/CobolSemanticProduct.java - Page generation
src/main/java/io/github/gustavo2358/cobolexplorer/semanticproduct/transport/SemanticProductJsonWriter.java
Static explorer
- Parse-tree view
src/main/resources/web/app.js - AST view
src/main/resources/web/ast-app.js - Symbols view
src/main/resources/web/symbols-app.js - Resolution view
src/main/resources/web/resolution-app.js
Other components
- Engineer
- COBOL source
- Local browser
Connections 17
- Engineer → Explorer entry: runs analysis
- COBOL source → Explorer entry: provides input
- Explorer entry → COPY preprocessing: preprocesses COPY
- Explorer entry → AST construction: builds AST
- AST construction → Symbol tables: feeds declarations
- Symbol tables → Reference resolution: supplies names
- AST construction → Semantic coverage: assesses modeling
- Symbol tables → Storage layout: supplies declarations
- Reference resolution → Storage layout: supplies bindings
- Reference resolution → Storage access facts: resolves accesses
- Storage layout → Storage access facts: supplies layout
- Explorer entry → Page generation: generates artifacts
- Page generation → Semantic product: writes product data
- Local browser → Parse-tree view: opens page
- Local browser → AST view: opens page
- Local browser → Symbols view: opens page
- Local browser → Resolution view: opens page