Home /Modules/common-rails/PRINTING.HERITAGE.md

PRINTING.HERITAGE.md

common-rails/heritage/PRINTING.HERITAGE.md · 30 line(s) · markdown

CommonRails Heritage Printing

The Heritage layer gives C, C++, and Java implementations of the CommonRails printing contract. The implementations share semantic constants and rendering rules rather than depending on terminal color.

Components

Language Heritage

C uses small translation-unit utilities and headers. C++ provides the same contract as a namespaced class/struct layer. Java provides the same contract as nested utility classes under com.sleela.commonrails.heritage.printing.

The implementations preserve the same observable rules so CommonRails output can be reproduced across the three Heritage languages.

Contract

RequiredSymbols = DocumentedSymbols = TestedSymbols = AcceptedCoreSymbols applies to the printing vocabulary: every documented state and rendering rule has a corresponding implementation or contract assertion.

The authoritative design rules remain in BEAUTIFUL.DESIGN.PRINTING.md and the SLeeLa CommonRails source.