GNU bug report logs - #1029
Literate Programming: Emacs Lisp and Noweb

Previous Next

Package: emacs;

Reported by: barry <barry.krofchick <at> sympatico.ca>

Date: Fri, 26 Sep 2008 04:05:04 UTC

Severity: wishlist

Tags: patch, wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1029 in the body.
You can then email your comments to 1029 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1029; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to barry <barry.krofchick <at> sympatico.ca>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: barry <barry.krofchick <at> sympatico.ca>
To: bug-gnu-emacs <at> gnu.org
Subject: Literate Programming: Emacs Lisp and Noweb
Date: Thu, 25 Sep 2008 23:55:31 -0400
[Message part 1 (text/plain, inline)]
Please find attached a tar file which includes a package I use to integrate
Norman Ramsey's noweb literate programming tool and Emacs Lisp.

Just untar the file, and follow the instructions in README (simple 
./configure,
make, make install) to install the package.

There is complete documentation in the doc directory. The code for elnw 
(elisp-noweb)
is all documented with the noweb constructs and serves as an example of 
how noweb
and emacs lisp integrate nicely to provide literate programming 
documentation
for emacs lisp.

For users of most programming languages, noweb provides tools notangle and
noweave, to generate either purse source code or pure documentation code
from a single noweb source file that includes both.

The tools provided allow users to incorporate the noweb constructs directly
into the emacs lisp source code itself, through a few simple functions
(noweb-doc, noweb-chunk). The literate code with these functions may be 
compiled
and run, with no performance penalty.

At the time documentation generation is required, or final code is desired,
the command line tools elnw-gendocs and elnw-compile (which invoke emacs
lisp in batch mode to do the work) serve to generate pure noweb documents
(for dicument generation) or pure el code for code generation (with the 
noweb
constructs stripped out).

The generated documentation is to latex from which dvi or pdf files are 
generated.
The code sections in the documented literate code is colorized according 
to the
users standard font-lock selections.

These tools make it simple (simpler than in other languages) to create 
literate
emacs source code according to Knuth's concept. The literate source is
compilable, and executable (with no performance penalties) and generation of
final documentation and final source code is trivial.

Feel free to distribute this package as you like.

It requires emacs-22.1 (minimally), the noweb tools from Norman Ramsey's
site at http://www.cs.tufts.edu/~nr/noweb/, a working installation of 
latex with
the xcolor package.

Barry Krofchick
barry.krofchick <at> sympatico.ca

[elnw-1.0.tar.gz (application/gzip, inline)]

Severity set to `wishlist' from `normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Fri, 26 Sep 2008 04:25:04 GMT) Full text and rfc822 format available.

Tags added: patch Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Fri, 26 Sep 2008 04:25:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#1029; Package emacs. (Mon, 29 Feb 2016 04:51:02 GMT) Full text and rfc822 format available.

Message #12 received at 1029 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: barry <barry.krofchick <at> sympatico.ca>
Cc: 1029 <at> debbugs.gnu.org
Subject: Re: bug#1029: Literate Programming: Emacs Lisp and Noweb
Date: Mon, 29 Feb 2016 15:49:48 +1100
barry <barry.krofchick <at> sympatico.ca> writes:

> Please find attached a tar file which includes a package I use to integrate
> Norman Ramsey's noweb literate programming tool and Emacs Lisp.

[...]

> The tools provided allow users to incorporate the noweb constructs directly
> into the emacs lisp source code itself, through a few simple functions
> (noweb-doc, noweb-chunk). The literate code with these functions may
> be compiled
> and run, with no performance penalty.

I don't feel that this is something that would belong in the Emacs core,
but it sounds like a nice package to have on one of the Emacs package
repositories.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) wontfix. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 29 Feb 2016 04:51:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 1029 <at> debbugs.gnu.org and barry <barry.krofchick <at> sympatico.ca> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 29 Feb 2016 04:51:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 28 Mar 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 145 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.