[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxuum::document_ft

Title:DOCUMENT T1.0
Notice:**New notesfile (DOCUMENT.NOTE) now available (see note 897)**
Moderator:CLOSET::ADLER
Created:Mon Feb 09 1987
Last Modified:Thu Oct 31 1991
Last Successful Update:Fri Jun 06 1997
Number of topics:897
Total number of notes:4397

236.0. "CRF File Dump" by STAR::GILLIAM () Thu Apr 09 1987 22:09

    I know, you've heard me say this before. I'd like to see DOCUMENT
    do a symbol table (CRF) dump at the end of book, element, subelement, and
    individual file processing as the final page of output. I'd like
    to see the symbol definitions I've defined grouped by entity.
    
    For example,
    
    TABLES
    
    Value           Text or Caption                    Symbol Name
    
    1-1          Freeways of Southern California         free_socal
    1-2          Thruways and Parkways                   thru_park
    
    FIGURES

    1-1          Roadside Debris                         debris
    1-2          Roadside Burger Palace                  burger
    
    EXAMPLES
    
    1-1          Etc, etc, etc.
    
    Perhaps, undefined symbols could be flagged in this page with question
    marks. I used to use a text formatter that did this. I think it would make
    the CRF file more useful and FRIENDLY.
T.RTitleUserPersonal
Name
DateLines
236.1more wishlistVAXUUM::KOHLBRENNERFri Apr 10 1987 08:233
    Do others want to see this in some other format?
    
    It's on the wishlist.
236.2Yes, put it in the listing file?CRAYON::GENTParty gone out of bounds -- B52'sFri Apr 10 1987 09:015
    I think this is a good idea. But I don;t think it should be part
    of the output. Shouldn't this information go in the listing file?
    (Or did I misunderstand the original note...)
    
    --Andrew
236.3CRF output could be a big helpTLE::SAVAGENeil, @Spit BrookFri Apr 10 1987 10:227
    Another vote to generate readable CRF output.  [I like the table
    style shown in the base note.]

    Writers can use this output to check cross references.  This is
    especially useful when one writer is taking over the source files
    from another writer and is unfamiliar with symbol names and what
    structures the names apply to.
236.4Yes voteALIEN::BELMANFri Apr 10 1987 12:012
    Yes, this would be a real boon.
    
236.5need a utility?VAXUUM::KOHLBRENNERFri Apr 10 1987 12:5119
    Mason convinced me six months ago that it was a good idea,
    so it is at the top of the wishlist.  I'm interested in
    comments like where it goes (back of output/listing file/
    another output file,etc) and what people want to see in it
    (as in .0, or other?) and how you see it being used.
    
    For example, SOMEONE will want it sorted on the symbol, someone
    will want tables that don't have symbols included, others will
    want those items left out.  SOMEONE will want to reorder the
    columns.
    
    If we are to be true blue DECcies, we'll want to provide all of
    those options and more.  So maybe we should write a separate 
    utility that gives you a fancy command line with a dozen qualifiers
    for controlling everything.  That way, everyone gets it "their way"
    and we don't take processing time to produce it on every run for
    some poor writer who could care less.
    
    WOuld someone like to spec such a utility?
236.6You Decide, We ComplainDECWET::CUSTERFri Apr 10 1987 13:274
    Why don't you just organize it however you want, then we'll feel
    free to complain if we don't like what you've done....  :-)
    
    	-hkc
236.7complaint department, window closed ;-)VAXUUM::KOHLBRENNERFri Apr 10 1987 15:347
    Gee, I didn't think that getting a spec out of you ahead of time
    was going to restrict anyone from complaining!  Have you ever
    known that to work like that?
    
    Getting a spec out of you ahead of time just makes me feel smug
    when you DO complain!   ;-)       -  bill
    
236.8Do it with SCATOKLAS::FELDMANPDS, our next successFri Apr 10 1987 18:5215
    One of the requirements on PDS is to provide traceability between
    source code and documentation.  We would like to see this done by
    having DOCUMENT produce SCA information for the user's symbol
    definitions.  (SCA is, among other things, a successor to CREF.)
    
    I believe that DOCUMENT can also best satisfy the request in .0 by producing
    SCA information.  This will provide the ability to produce reports
    such as have been suggested (at least in the SCA V2 time frame,
    when we expect to have better reporting facilties).  Furthermore,
    it will have the added benefit of interactive cross-reference browsing
    in LSE.  For example, you could point at a symbol reference in one
    file, and have LSE take you to the line where the symbol is defined
    in another file.
    
       Gary
236.9CRF = SCACLOSET::KOHLBRENNERSun Apr 12 1987 15:5820
    We have been talking to the PDS people and will talk more once
    we get version 1 out the door.  The CRF will probably evolve or
    get converted into SCA.
    
    As I understand it, the goal is to be able to write requirements,
    specifications and design documents (in SDML) and to imbed symbols
    in them that identify important entities, and to be able to look
    at and report on this process by tying the entities in one place
    together with entities in the other place, so a design element
    can be tied to specification element(s) and those to requirement(s).
    
    Then, as actual coding begins, the design document can begin to
    have Pascal, or ADA, or C, or whatever coding added to it and the
    compilers are smart enough to overlook the SDML as comments and to
    compile the programming language, still feeding the same SCA data
    base, so that eventually, the code can be tied back to all that
    has come before it.
    
    bill
    
236.10AUTHOR::WELLCOMESteveMon Apr 13 1987 10:0715
    A .CRF file dump would be very handy.  Another vote!
    
    Somewhat on the same subject, how about making missing references
    a less severe error than "warning".  I'm doing a chapter now that
    is a general overview of the rest of the book, and it refers to
    *everything*.  When I try to run it through DOCUMENT, I get more
    than 30 warnings and the tag processor stops.
    
    (Yes, I know, I can create "dummy" files with just the section names
    in them, and do a book build to create the .CRF file, then build
    the chapter I'm interested in using /something-or-other to specify
    the name of the .CRF file, and all that, but it would be a heck
    of a lot easier if you just made missing <REFERENCE> symbols totally
    ignorable.)
    
236.11Final page vs. Listing filePANAMA::GILLIAMPANAMA A Free and Independent NodeMon Apr 13 1987 12:535
    re: .2
    A dump as the final page of output regardless of destination 
    device would be preferable to printing the file or book on one device
    and then printing a listing file on a line printer. It think it would save
    time.
236.12how about a command qualifier?ATLAST::BOUKNIGHTEverything has an outlineMon Apr 13 1987 14:046
    I would accept /CREF=cref-file-spec as a qualifier to the DOCUMENT
    command, in the same vein as linker MAPs and compiler LISTings.
    
    I vote for the feature too.
    
    thanks...Jack
236.13unresolved referencesVAXUUM::KOHLBRENNERMon Apr 13 1987 16:169
    I don't think we would ever make an unresolved <reference> go
    by without at least a Warning level error.  The first person that
    sent a book to the printer with "<reference>(foobar)" in it
    would scream so loud Ken Olsen would hear it.
    
    There is probably someone out there who would like that particular
    message raised to Error severity level, under the argument that
    "no one wants to look at the printed output if it has unresolved
    references in it."
236.14a vote for optional output3D::BOYACKpithy...pithy...pithyTue Apr 14 1987 08:325
    As to the "automaticness" (wow!) of the dump... the CRF listing
    should be an option, however it is implemented. I certainly don't
    want all the extra paper every time I print a test file.
    
    Joe
236.15Another YesEDEN::DENHAMJeff Denham, DTN 223-6770Thu Apr 16 1987 10:333
    Another vote in favor of the CRF listing, and I second the notion
    of making the "listing" feature responsive to a command-line qualifier
    in the manner of a compiler.
236.16Request pointer to SCA, PDS38299::THERIAULTFri Apr 17 1987 13:3417
    
      RE: .9
    
    Excellent!  Would you mind providing a pointer to SCA (what does
    it stand for/ where is documentation) and the PDS people?  We could
    use this kind of stuff.
    In fact, I have a project going (in lisp) in which the doc strings
    are structured so I can generate help and reference manual stuff
    from them.  This seems to fit right in, and may make my own garbage
    obsolete.
    
      RE: .5
    
    How 'bout an expert system?
    
    Dan Theriault, Knowledge Engineer :-)
    Artificial Intelligence Applications Group
236.17you rang?TLE::SAVAGENeil, @Spit BrookFri Apr 17 1987 18:0417
    Re: .16:
    
    SCA stands for Source Code Analyzer.  Susan Snow and I are the writers
    for LSE/SCA/PDS.  By way of brief introduction to SCA, there is
    a template for LSE and SCA located at:
    

    CLT::SYS$UTILROOT:[PUBLIC.DOC_STRATEGY.TEMPLATES]LANG_VMS_TOOLS_LSESCA.GNC
    
    This template is meant for insertion as an appendix to language
    manuals, but should satisfy your curiosity.  Note that tags are
    for BL6 of DOCUMENT; it you desire the template with BL7 tags, send
    mail to me.
    
    The lead developers for these products are all on the TLE cluster.
    Mark Arsenault and Dave Moore - SCA
    Tina Cleaveland - PDS
236.18Thanks for SCA info38299::THERIAULTTue Apr 21 1987 08:466
    
      RE: .17
    
    Thanks, Neil!  I'll read it immediately.
    
    Dan