[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Axiom-developer] Desired functionality from noweb
From: |
C Y |
Subject: |
Re: [Axiom-developer] Desired functionality from noweb |
Date: |
Wed, 09 May 2007 19:29:48 -0400 |
User-agent: |
Thunderbird 2.0.0.0 (X11/20070419) |
>>>> Try
>>>> %---BEGIN aaa.pamphlet
>>>> <<*>>=
>>>> <<X>>
>>>> A
>>>> @
>>>> <<X>>=
>>>> EFG
>>>> @
>>>> <<*>>=
>>>> B
>>>> @
>>>> <<C>>=
>>>> UVW
>>>> @
>>>> %---END aaa.pamphlet
>>>>
>>>> notangle aaa.pamphlet
>>>> EFG
>>>> A
>>>> UVW
>>>> B
>>> Ugh. I don't think this is a style of LP we should use.
>> Why not? Well, it was just an example, but I don't think that a
>> continued code junk is a terribly bad idea. I would only require that
>> braces are paired within each chunk.
>
> Non-unique root node definitions in a file will increase complexity.
> Ideally all code chunks in a program would have unique chunk names - at
> the very least, anything part of a particular tangle operation should
> have a unique name. I expect to run tangle once per <<*>> defined, and
> I expect one <<*>> per file (or "project" if you prefer.) Perhaps
> there are reasons not to do that but I'm not seeing it right now.
Well, amusingly enough, I tried it in cl-web and the code seems to
already exhibits the behavior above ;-). So if anyone wants to do that
they can.
I think I understand better now what you were saying - as opposed to
breaking a chunk definition down into sub chunks which are included in a
toplevel chunk, you simply have a single chunk with its definition
spread through the file, with the scan identifying where the pieces are
and putting them together.
Cheers,
CY
- [Axiom-developer] Desired functionality from noweb, C Y, 2007/05/03
- Re: [Axiom-developer] Desired functionality from noweb, Ralf Hemmecke, 2007/05/04
- Re: [Axiom-developer] Desired functionality from noweb, C Y, 2007/05/04
- Re: [Axiom-developer] Desired functionality from noweb, C Y, 2007/05/04
- Re: [Axiom-developer] Desired functionality from noweb, Ralf Hemmecke, 2007/05/07
- Re: [Axiom-developer] Desired functionality from noweb, C Y, 2007/05/07
- Re: [Axiom-developer] Desired functionality from noweb, Ralf Hemmecke, 2007/05/08
- Re: [Axiom-developer] Desired functionality from noweb, C Y, 2007/05/08
- Re: [Axiom-developer] Desired functionality from noweb, Ralf Hemmecke, 2007/05/08
- Re: [Axiom-developer] Desired functionality from noweb, C Y, 2007/05/08
- Re: [Axiom-developer] Desired functionality from noweb,
C Y <=