axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] Re: noweb


From: Norman Ramsey
Subject: Re: [Axiom-developer] Re: noweb
Date: Fri, 05 May 2006 10:46:02 -0400

 > Hello, is somebody so familiar with the documentation of noweb, to point 
 > exactly at a place in the documentation that says something about what 
 > noweb SHOULD do if it sees
 > 
 >    <<NOT DEFINED CODE CHUNK NAME>>
 > 
 > in either documentation or code chunk?
 > 
 > The only place where I think it would be necessary to escape <<  is if 
 > an = sign immediately follows the >> AND the << starts at the first 
 > column. In all other situations the line should be output by noweb 
 > literally and NO error message should occurs. Maybe a WARNING (to 
 > stderr) would be nice, but still errcode=0.

No.  Misspelled chunk names or missing chunks should result in errors,
as should chunk names appearing in documentation.

I have made a note that noweb's manual needs to be amended.



Norman


 > 
 > Ralf Hemmecke
 > 
 > 
 > > | In the file '  src/interp/fnewmeta.lisp.pamphlet' the text:
 > > | 
 > > |   <<' Name '>>
 > > | 
 > > | is not really a reference to a chunk but noweb thinks it is
 > > | and the standard (designed in) behavior of noweb when it
 > > | finds such an "undefined chunk" is simply to omit it. This
 > > | breaks the Axiom code.
 > > | 
 > > | Of course would could define this as a chunk using the noweb
 > > | escape sequence @<<
 > > | 
 > > |   <<' Name '>>=
 > > |   @<<' Name '>>
 > > |   @  
 > > | 
 > > | and solve this one case where it is really a problem (or even
 > > | use the escape sequence inline).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]