You are not logged in

I fixed some problems in the original submission: the snarfer debugger is now interactive, cleans the markers, all the magic is now defvar rather than defconst (so reloading the file changes them), and more detail in some of the docstrings.

The attached file extracts examples in sections starting with @unnumberedsubsubsec *.c from the Texinfo source, dumping them and an appropriate Makefile in the examples/ subdir (after you save all buffers, of course). Currently, it doesn't handle multiple-source-file programs, and there is a single name-clash which doesn't write out one of the files (which you can see by using the resultant makefile).

The output is nicely functional, however, as you can see by the snarfer debugger command, which required no changes to the snarfer proper. I did this partly because I wasn't sure I would write the Makefile generator; you can still easily remove it (or the code writer, for that matter).

Usage and other such details are documented in the commentary. If you think it deserves a license, you should consider it GPL v2 or later, Copyright (C) 2003 Stephen Compall.