I remain captivated by the ideals of Literate Programming. My fork of PyLit (https://github.com/slott56/PyLit-3) coupled with Sphinx seems to handle LP programming in a very elegant way.
It works like this.
Updates completed. See https://sourceforge.net/projects/pywebtool/ and http://pywebtool.sourceforge.net.
The list of changes is extensive.
However, the essential API and the markup language for creating literate programs hasn't (significantly) changed. A few experimental features were replaced with a first-class implementation.
The interesting (to me) bit is …
more ...I've revised PyLit to work with Python3. See https://github.com/slott56/PyLit-3 The code seems to pass all the unit tests. The changes include Python3 revisions, plus a small change to handle trailing spaces in a sightly cleaner fashion. This was necessary because I have most of my editors …
more ...Even though I wrote a literate programming tool (PyWeb) I slowly came to realize that it's not very good.
Mostly, I followed the Web/Weave world view and cribbed their markup syntax. It's not bad, but, the PyWeb markup is based on some presumptions about literate programming that were, perhaps …
more ...I've (finally) updated the pyWeb Literate Programming Tool.
There were feature requests and bug reports. Much to do. Sadly, I'm really slow at doing it.
My bias is toward "printable" documents. I like the idea of an HTML document that is directly printable. I've used tools like Flying Saucer (and appropriate CSS) to guarantee printability.
I like using ReStructured Text to create HTML and LaTeX that match precisely.
When I think of Literate Programming, I'm …
more ...About a decade ago, I discovered the concept of Literate Programming. It's seductive. The idea is to write elegant documentation that embeds the actual working code.
For tricky, complex, high-visibility components, a literate programming approach can give people confidence that the software actually works as advertised.
I actually wrote my …
more ...Important
Are any of these lkinks still live?
Why Python? Stay tuned. Why Zope? More to come.
HTML Parse Tree and related material - needs a proper Python install script.
PyWeb - needs some updates and a proper install script.
Additional projects:
Random Number Test Algorithms, plus an implementation of some higher-order …
more ...