On Tue, Jun 15, 2010 at 2:07 PM, thyrsus <sschae...@acm.org> wrote: > I'll pursue implementing my proposal, but let's be clear what > it is: > > Assuming that the node in question is the node or a subnode > of a node containing an @root or @unit directive: > > * If a node has a headline "<< foo >>", code sections introduced > with @c at the beginning of a line will be appended to the > definition of "<< foo >>". > > * Code sections introduced with "<< bar >>=" in any node body > will be appended to the definition of "<< bar >>". > > * As before, "@" at the beginning of a line introduces a > documentation section.
This looks like the simplest thing that could possibly work, and it seems compatible with cweb as I only vaguely remember it. Let's go with this unless somebody complains, which seems unlikely. > Leo defaults to "noweb" mode. I haven't explored what happens > in CWEB mode. I invite someone who needs CWEB mode to generate > unit tests and clarify the documentation. Iirc, at least one user used to use CWEB mode. So let's try to keep CWEB mode as unchanged as possible. If that causes problems we can consider changing it. Now is a good time to remind you that the untangle code is really the key here. It's complex, and I'm not sure it even works, but whatever design work we do must allow untangle to remain possible. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to leo-edi...@googlegroups.com. To unsubscribe from this group, send email to leo-editor+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.