Frontmatter Navigation for Translation Documentation
How to Use
All files in translation/ have YAML frontmatter metadata at the top. Use this to efficiently find the right documentation for your current implementation task.
Step 1: Read the Index
Start by reading translation/INDEX.md — it contains:
- •A priority-ordered reading list
- •Documents grouped by category
- •Documents grouped by PL/I source file
- •A searchable tags index
Step 2: Navigate by Task
| Implementation Task | Read These Categories First | Then Check |
|---|---|---|
| Data model classes | data-structures (priority 1-2) | special-considerations |
| Business logic | business-logic, data-structures | control-flow, error-handling |
| File I/O classes | io-operations, data-structures | record-formats, input-formats |
| Report generation | io-operations (report-layouts) | picture-formats, string-handling |
| Error handling | error-handling | special-considerations |
| Full translation | Follow priority order 1→5 | All files |
Step 3: Use Frontmatter Fields
Each document has these frontmatter fields:
| Field | How to Use It |
|---|---|
title | Quick identification of document content |
category | Filter documents by implementation area |
source_files | Find all docs related to a specific PL/I source file |
tags | Search for specific topics (e.g., "BigDecimal", "record-format") |
related_docs | Follow cross-references to connected information |
priority | Reading order: 1=essential context, 5=edge cases only |
summary | One-line description for quick scanning |
Step 4: Per-Source-File Navigation
When translating a specific PL/I file, filter docs by source_files:
- •PSAM1.pli: Look for docs with
source_filescontaining "PSAM1.pli" - •PSAM1LIB.pli: Look for docs with
source_filescontaining "PSAM1LIB.pli" - •PSAM2.pli: Look for docs with
source_filescontaining "PSAM2.pli"
Example Workflow
- •Read
translation/INDEX.mdfor the full map - •For implementing
CustomerRecord.java:- •Read
record-formats.md(category: data-structures, has byte offsets) - •Read
variables-psam1.md(category: data-structures, has field declarations) - •Check
data-types.mdfor PL/I-to-Java type mapping - •Check
input-formats.mdfor file format details
- •Read
- •For implementing business logic:
- •Read
logic-psam1.mdfor the algorithm - •Check
control-flow.mdfor loop/branch patterns - •Check
error-handling.mdfor error conditions
- •Read