texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] literate programming for TeXmacs


From: David MENTRE
Subject: Re: [Texmacs-dev] literate programming for TeXmacs
Date: Thu, 19 Jan 2006 21:00:30 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Hello,

Felix Breuer <address@hidden> writes:

> For use with literate programming, we would have two clones of every
> code snippet. The one would reside in an "untangled" part of the document,
> and the other would reside in the tangled part. Via some mechanism, we
> could make sure that the content is actually stored in the tangled part
> of the document, so that, given the new serialization format, we would
> then get the tangled version of the code automatically. If the user
> makes changes to the code via a text editor, there is no need to propagate
> the changes to the untangled part, because the content is serialized only
> once.

Your clone idea seems, at first read, similar to my reference
suggestion (albeit more elaborated ;).

If I have understood correctly, the "serialized form" is compilable
source code, that includes both original source code in a first part,
with appropriate labels as comments, and a second texmacs part that
references the code snippets in the first part, possibly
re-ordered. When the user opens the LP file in texmacs, he only sees the
re-ordered and literate version. Right?

I like this idea.

Best wishes,
d.
-- 
pub  1024D/A3AD7A2A 2004-10-03 David MENTRE <address@hidden>
 5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A





reply via email to

[Prev in Thread] Current Thread [Next in Thread]