Literate Programming

Introduce and explain source code, prototypes, pseudocodes, fragments, snippets. Easily demonstrate, presentate and explain algorithms and their ideas

Author:Benjamin Sommer (profile at wordpress.org)
WordPress version required:2.8
WordPress version tested:3.5
Plugin version:1.3
Added to WordPress repository:13-02-2012
Last updated:25-09-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://weblog.benjaminsommer.com/literate-pro...
Total downloads:773
Active installs:10+
plugin download
Click to start download

This plugin brings literate programming to WordPress. Use it to clearly and explicitly state the thoughts behind your published programs, key algorithms and complex code snippets.

Authors can better restart their own thought processes at any later time, and other programmers can understand the construction of the program more easily.

Readers of your posts don't have to decipher the thought process behind the program from the code and its associated comments.

Source code can be gradually implemented and explained, without the need to repeatedly refer to one complete source code.

Features:

  • Automatically format nested fragments, so you can concentrate on key algorithms and their presentations (or explanations)
  • Very lightweight plugin
  • Internationalization supported
  • Strict Compliance to Zend Frameworks Coding Standard suggestions/guidelines

Future Work:

  • Interactive source code editor to create fragments from standard source code. Simply paste in source code and mark sections to create fragments with unique names. Use these names when writing WordPress posts, pages, comments.
  • Automatically create complete source code listings from previously defined fragments at the end of posts or pages.

Introductions, tutorials, posts about this plugin and literate programming in general can be found on my personal weblog.