DELAPARRA
Index
Color
NL
Category: Programming paradigms

Noweb

Explained by Updated

What is Noweb?

Noweb: A simple, language-agnostic literate-programming tool/format for defining chunks and weaving/tangling them. Noweb is a simple tool for literate programming. You write a document in which named chunks of code are embedded between explanatory text. The notangle command extracts the code into source files, and noweave turns the document into formatted documentation.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about Noweb

How is Noweb used in practice?

It works with any programming language, which made it more practical than Knuth's original tools that were tied to one language.

What should you keep in mind with Noweb?

The chunk syntax lives on in several modern tools. Org-mode in Emacs uses a similar approach to mix notes and runnable code, and R Markdown and Quarto follow the same idea for data analysis. For most application development, notebooks and good documentation in Markdown cover the same need: keeping explanations and the code they describe close together.

At a glance

CategoryProgramming paradigms
Explained by
Updated

More Programming paradigms terms

All terms starting with N

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.