On 17 Oct 2010, at 9:51PM, Joris van der Hoeven wrote:
Sure, as I said, I plan to include editable hyperlinks later this
academic year.
This will make it even easier to edit external files from within
TeXmacs.
Cool!
If I understand correctly, it isn't mainly intended for
interactive work, but to create files that can be compiled or
processed
in other ways.
Yes.
Of course, it could be that one can combine both. Provide a way to
interactively edit a file, and create it right there, but also
convert
the whole document.
As I said before, the main problem I see with literate programming is
the fact that you have the choice between two evils:
1) Force all developers to use the same literate programming tool:
the TeXmacs documents become the actual source code.
2) Clobber the native ASCII source code with special comments which
contain directives for the literate programming tool.
I fully understand that making a decision on which evil you prefer
naturally leads to two different blends of literate programming tools.
Nevertheless, it might still be best to have a tool which
can operate in both modes: use TeXmacs documents as source code,
or use native source code.
Another challenge is to reduce the clobbering in 2) as much as
possible.
One idea is to make TeXmacs grammar-aware, so that searching for a
particular
piece of code becomes very robust, even in absence of special
directives.
Unfortunately, this does not entirely solve the problem, because an
external
person might delete or rename our particular piece of code using
another editor.
Actually, the external person is not even be aware of the fact that
our piece of code was annotated.
Anyway, at a certain point, I will dive into these issues.
At the moment, I will just try to follow the ongoing experimentations.
I think that TeXmacs should produce the code, or something from which
the code can easily be extracted. But there are many other tools that
need to deal with the code - debuggers, profilers, diff, revision
control systems, etc etc.
And, I think the point you brought up also goes in that direction -
what if you work on a big project, with many programmers. Does it
force everybody to use TeXmacs?
So, I think TeXmacs will need to produce a text file or a collection
of text files that are easily readable by a human, and so that edits
to them can be brought back to the original document by TeXmacs.
Michael
_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev