On Wed, Feb 08, 2006 at 11:57:01PM +1100, Star King of the Grape Trees wrote:
>Magnus Therning wrote:
>
>><snip>
>>
>>I was aware of literate programming, and it's a great idea but
>>unfortunately not a solution that _I_ could introduce. I don't write
>>the code, I only read it. Basically I'd like a tool that does the
>>_opposite_ of *WEB. Whereas *WEB takes a single file and from it
>>extracts code or documentation, I want a tool that takes two files, a
>>source file and a comment file, and displays the two interleaved.
>>
>
>A possible solution could be to have your own branch in SVN or whatever
>vcs you use, which has the comments _in_ the file.
>
>Diff'ing this against the main branch should result in the "comment"
>files.  Ultimately, you must realise that if you have the comments in a
>separate file, you must somehow be able to realise where the comment
>comes from - the diff achieves this through a small amount of context.

Yes, I think that would work. It's an interesting idea. It should be
possible to do by (mis-)using 'quilt'. That would mean that I don't
need to use the rather quirky VCS system we're using at work. Thanks for
the idea!

/M

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED]
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

Finagle's Sixth Law:
Don't believe in miracles -- rely on them.

Attachment: pgpg2pgzznN5k.pgp
Description: PGP signature

Reply via email to