Date: Thu, 26 Jun 2025 22:57:07 +0200
On Tue, Jun 24, 2025 at 06:07:42AM -0700, Siddharth Mohanty via Std-Proposals wrote:
> 1. The end goal of my proposal is to have more formal
> documentation(allowing C++ code in docs) so that the documentation can
> generate the code rather than human developers writing docs based on the
> code they write. This would be a benefit to developers in the future since
> the docs would be the source of truth, defining intended behavior and
> actual code execution.
This sounds suspiciously similar to Knuth's "literate programming" - have you
looked at that?
/MF
> 1. The end goal of my proposal is to have more formal
> documentation(allowing C++ code in docs) so that the documentation can
> generate the code rather than human developers writing docs based on the
> code they write. This would be a benefit to developers in the future since
> the docs would be the source of truth, defining intended behavior and
> actual code execution.
This sounds suspiciously similar to Knuth's "literate programming" - have you
looked at that?
/MF
Received on 2025-06-26 20:57:12