# PBXB64 Programming Handbook Samples

This directory is a compact, executable handbook corpus with 114 source lessons
plus 300 generated COBOL practice samples. Each lesson teaches a different
language feature and is copied from a canonical test fixture or an assembler
contract source. The generated COBOL samples are themed variations of the core
lessons and are individually compile-checked against the current compiler.
This directory intentionally excludes generated objects, compiler-emitted
assembly, and cosmetic number-only variants.

| Frontend | Topics |
| --- | --- |
| BASIC/PB | startup, loops, floating point, strings, structures, variants, objects, GUIDs, wide strings, collections |
| C | startup, statements, bitfields, complex numbers, variadic functions, H-Lib collections |
| B64 | results, decisions, loops, globals, six-argument calls |
| ASM | arithmetic, integration, directives, macros, string instructions, SSE instructions |
| COBOL | hello, data division, arithmetic, control flow, strings, I/O, linkage, BASIC-COBOL bridge, compute, search, embedded COBOL in PB |
| FORTH | minimal program, stack arithmetic, control flow, CREATE/DOES> |
| PILOT | text, arithmetic, matching, nested subroutines, PB bridge |
| SPR | control flow and non-interactive desktop, registry, and utility examples |
| Logo | minimal program, procedures, control flow |
| Rust | hello, arithmetic, arrays, captured closures, impl methods |

The current progression contains 12 BASIC/PB lessons; 10 each for C, B64, ASM,
and Rust; 17 hand-authored COBOL lessons across 7 themed folders plus 300
generated COBOL samples across 9 themed folders; 8 each for FORTH,
PILOT, and SPR; and 4 for Logo. The Logo count reflects its complete current
fixture set, not a reduced quota.

Canonical test fixtures remain the executable authority. A source file in this
directory is release material only after it remains byte-identical to its
fixture and its corresponding frontend lane is green.
