-
COBOL practitioners seeking modern build tooling that speaks their language
-
Enterprise developers wanting bank-grade reliability for content pipelines
-
Language preservationists exploring COBOL beyond transaction processing
-
Polyglot SSG explorers via poly-ssg-mcp integration
COBOL’s English-like syntax makes site configuration readable without comments:
IDENTIFICATION DIVISION.
PROGRAM-ID. SITE-CONFIG.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 SITE-METADATA.
05 SITE-TITLE PIC X(80) VALUE "My Technical Blog".
05 SITE-AUTHOR PIC X(40) VALUE "J. Developer".
05 BASE-URL PIC X(120) VALUE "https://blog.example.com".
05 BUILD-DRAFTS PIC 9 VALUE 0.COBOL’s native record handling maps perfectly to front matter and structured content:
01 POST-RECORD.
05 POST-TITLE PIC X(200).
05 POST-DATE PIC 9(8).
05 POST-TAGS.
10 TAG-ENTRY PIC X(30) OCCURS 10 TIMES.
05 POST-BODY PIC X(65535).Site structure mirrors COBOL’s four-division model:
| COBOL Division | Site Component |
|---|---|
IDENTIFICATION |
Site metadata, author, version |
ENVIRONMENT |
Input/output paths, build targets |
DATA |
Content records, templates, assets |
PROCEDURE |
Build logic, transformations, rendering |
┌─────────────────────────────────────────┐
│ COBOL Runtime │
└─────────────────────────────────────────┘
│
┌───────────────────────────┼───────────────────────────┐
▼ ▼ ▼
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ CONFIG │ │ CONTENT │ │ TEMPLATE │
│ READER │ │ PARSER │ │ ENGINE │
│ (ENVIRON) │ │ (DATA) │ │ (PROCED) │
└──────┬──────┘ └──────┬──────┘ └──────┬──────┘
│ │ │
└──────────────────────────┼──────────────────────────┘
▼
┌─────────────┐
│ FILE │
│ WRITER │
└─────────────┘
-
Incremental builds — only recompile changed content records
-
Parallel section processing — leverage COBOL’s section-based execution
-
Fixed-width field validation — catch content length issues at build time
-
COPY statement templating — reusable content structures via copybooks
-
EBCDIC/ASCII agnostic — works with any character encoding
| Division | Purpose | Division One Usage |
|---|---|---|
|
Program metadata |
Site name, version, author attribution |
|
I/O configuration |
Source paths, output directories, asset locations |
|
Variable declarations |
Content records, template variables, configuration |
|
Executable logic |
Build steps, content transformation, file generation |
Division One integrates with the polyglot SSG ecosystem through the Model Context Protocol:
# Via poly-ssg-mcp
mcp call poly-ssg divisionone:build --path ./my-siteSee poly-ssg-mcp for unified access to 28+ static site generators across 17 languages.