> That sounds like a pretty neat idea.  But wouldn't using TeX to do the
> tangling be inefficient for large programs?  (This isn't a rhetorical
> question; I have no idea.)

i have no idea but i do have practical experience.
in work i have a project that is a literate program.

the pamphlet file has 127862 lines.
the generated lisp file has 60184 lines.
the dvi file has 3240 pages.

remaking the whole pile takes (on a 3.2GHz machine)
 about 25 seconds for noweb
 about 3 seconds for latex -> dvi
 about 3 seconds for clisp executable image
 about 3 seconds for regression tests

noweb is a bottleneck for my work project
and all it has to do is mmap the file, 
create a hash table of the chunks, 
and recursively walk the <<*>> tag.

so i'm not worried about the time latex might take.

t


_______________________________________________
Axiom-developer mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to