Literate Programming


This is a (preliminary version of) page devoted to Literate Programming. When it's mature enough, I planned to make this page *the* code area. Still gathering decent materials...

For those who are not used to the concept of Literate Programming, I suggest visiting literateprogramming.com for a wealth of tools and articles regarding this very effective but as yet underrated programming habit (not without its reasons).


Facility

While you've stumbled to this tiny page, why don't you taste how LP feels like by trying it yourself? Here's a very simple Literate Programming tool, Nuweb, with a slightly modified LaTeX code and a makefile suitable for non-GNU standard C++ compilers.


Example

LPX2TEX

A command-line utility to convert LaTeXPiX's LPX file format to TeX-compatible formats. LaTeXPiX is a GUI-based LaTeX drawing tool for EEPIC and PGF.

Boyer-Moore string-search algorithm

A sample literate program, written in Bahasa Indonesia, from my early days using Nuweb.


All contents of this site are made by me, Adhi Hargo, unless noted otherwise.
Seluruh halaman dalam situs ini dibuat oleh Adhi Hargo, kecuali orangnya bilang sebaliknya.