| ▲ | svilen_dobrev 18 hours ago | |
>> A literate program has code and documentation interleaved in one file. >> - Weaving means extracting documentation and turning it into e.g. a pdf. >> - Tangling means extracting code in a form that is understandable to a compiler. Interesting. i have made a few times DomainSpecific-"languages" - like for chips-module-testing , or for HR-payroll stuff - expressed in some general language with an engine underneath, which allowed for both turning/rendering the DS-"code" into various machine-readable outputs - verilog, labview, .. - as well as various documentation formats. Essentially a self-contained code-piece-with-execution/s-and-documentation/s, with the feature to "explain" what goes on, change-by-change. Never knew it might be called literate programming. | ||