Skip to main content

The CodeChat System for software documentation

Project description

CodeChat transforms source code into a web page, allowing developers to view their program as a beautiful and descriptive document by adding headings, formatting, hyperlinks, diagrams, images, and other forms of rich content to capture the ideas and insights that naturally flow from the process of writing a program. It also provides a blank slate in which to plan ahead, by sketching out an algorithm before committing it to code or laying out a design document which can evolve as the code does. This literate programming paradigm changes the way developers think by intermingling ideas with their implementation as code, dramatically improving a programmer’s abilities.

Background

Put simply, literate programming (LP) is the realization that a program is a document written to and for fellow programmers, not simply a list of instructions for a computer. LP tools therefore produce a nicely-formatted document which contains the code intermixed with explanatory prose. Donald Knuth introduced literate programming using his WEB tool in his seminal paper. Per Figure 1 of this paper, the WEB system takes a .w document as input then produces either a “tangled” source file for compilation or a “woven” document as a .tex file. The document is beautiful; the WEB source is difficult to digest (see Figure 2a-c); the source code is completely unreadable (see Figure 3). While a plethora of tools developed over the years attempt to address these problems, only one LP-inspired variant has gained widespread acceptance: documentation generators, such as Doxygen and JavaDoc, which extract documentation directly from source code, rather than extracting source code from the documentation, as WEB and most LP tools do. CodeChat addresses these LP weaknesses by producing a document directly from the code; employing human-readable markup (reStructuredText); and by supporting a GUI to make editing an LP document-program faster and easier.

Getting started

Refer to the CodeChat documentation for more information.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

CodeChat-1.8.9.tar.gz (44.5 kB view details)

Uploaded Source

Built Distribution

CodeChat-1.8.9-py3-none-any.whl (55.7 kB view details)

Uploaded Python 3

File details

Details for the file CodeChat-1.8.9.tar.gz.

File metadata

  • Download URL: CodeChat-1.8.9.tar.gz
  • Upload date:
  • Size: 44.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.1

File hashes

Hashes for CodeChat-1.8.9.tar.gz
Algorithm Hash digest
SHA256 3520725ca553878b2e8d9c3bb1338629bf566130e9f780c1bac665f5a2b2ab67
MD5 e2551c5df8b6ac040307b0efecc600bb
BLAKE2b-256 7131979d6987d7e4cd664d2594eefa534c8f40049896614175ebf3ecf4f0ac33

See more details on using hashes here.

File details

Details for the file CodeChat-1.8.9-py3-none-any.whl.

File metadata

  • Download URL: CodeChat-1.8.9-py3-none-any.whl
  • Upload date:
  • Size: 55.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.1

File hashes

Hashes for CodeChat-1.8.9-py3-none-any.whl
Algorithm Hash digest
SHA256 b96d86afc261dfb5e55c8d1a04b55d32600457520844353a382ecfb76573a378
MD5 7351be2eabd82872a28768bdf85c5416
BLAKE2b-256 43cb7c12eb4b7cbb6bcf5aee21c878cbcde9e4edd2761cd6998ac7234d434208

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page