I've just installed Interscript and I have a question about its implementation of tangling. I don't see how you can do chunking in arbitrary order. I'm used to noweb
Some doc ...
<<A program>>=
<<do foo>>
<<do bar>>
@
Description of bar..
<<do bar>>=
print "bar"
@
Description of foo..
<<do foo>>=
print "foo"
@
In the example documentation I can see no examples of how you would embed a bit of code (as in <<do foo>> <<do bar>> in <<A program>>). The examples seem quite linear: more like
Some doc ...
@
Description of foo..
<<do foo>>=
print "foo"
@
Description of bar..
<<do bar>>=
print "bar"
@
That is, the code seems to be presented in code order rather than in exposition order. I'm probably wrong, but I'd appreciate clarification.
p.s. Is interscript still under active development?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Welcome to Open Discussion
Hi,
I've just installed Interscript and I have a question about its implementation of tangling. I don't see how you can do chunking in arbitrary order. I'm used to noweb
Some doc ...
<<A program>>=
<<do foo>>
<<do bar>>
@
Description of bar..
<<do bar>>=
print "bar"
@
Description of foo..
<<do foo>>=
print "foo"
@
In the example documentation I can see no examples of how you would embed a bit of code (as in <<do foo>> <<do bar>> in <<A program>>). The examples seem quite linear: more like
Some doc ...
@
Description of foo..
<<do foo>>=
print "foo"
@
Description of bar..
<<do bar>>=
print "bar"
@
That is, the code seems to be presented in code order rather than in exposition order. I'm probably wrong, but I'd appreciate clarification.
p.s. Is interscript still under active development?