DELAPARRA
Index
Color
NL
Category: Programming paradigms

Weave

Explained by Updated

What is Weave?

Weave: The process of producing formatted, readable documentation (PDF/HTML) from the same literate document. In literate programming, weaving is the step that turns a literate document into readable documentation, such as HTML or PDF. Code and explanation appear together, formatted for people, with cross-references between code chunks. It is the counterpart of tangling, which extracts the runnable code from the same document. Because both come from one source, the documentation always matches the code.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about Weave

What should you keep in mind with Weave?

The modern equivalents are tools like Quarto, R Markdown and Jupyter, which render notebooks into reports or websites, and documentation generators that pull real code examples from a repository. The principle applies broadly: generate documentation from the same source as the code wherever possible, so it cannot drift out of date unnoticed.

At a glance

CategoryProgramming paradigms
Explained by
Updated

More Programming paradigms terms

All terms starting with W

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.