From LiteratePrograms
Jump to: navigation, search
Warning: LiteratePrograms is currently undergoing a license migration to Creative Commons CC0 1.0. All content will be erased unless its authors agree to release it under CC0. If you wish for your contributed content to be retained, please add a statement to your user page that you release all your contributions under CC0 1.0, and inform me via Special:Emailuser/Dcoetzee. You can also re-add content that you created after the migration, provided that you are the sole author. At this time all article namespace content is already migrated.

Welcome to LiteratePrograms! LiteratePrograms is a unique wiki where every article is simultaneously a document and a piece of code that you can view, download, compile, and run by simply using the "download code" tab at the top of every article. See Insertion sort (C) for a simple example. To date we have 220 articles.

Based on Donald Knuth's concept of literate programming, LiteratePrograms is a collection of code samples displayed in an easy-to-read way, collaboratively edited and debugged, and all released into the public domain under the Creative Commons CC0 1.0 waiver (see Copyrights) so that anyone can use our code and text for any purpose without restriction.

Code on LiteratePrograms is organized in a variety of ways using categories: by subject area, by language, by environment, and so on. Following are some of the top-level category lists to get you started.

If you're interested in contributing your own programs, you can read about how to write an article. You don't need to know literate programming to contribute!

List of all articles

By subject area (edit)

By programming language (edit)

By environment (edit)