home *** CD-ROM | disk | FTP | other *** search
- To build the statement profile tool:
-
- 1. Compile all the abstractions into a program library (see READ.ME in
- abstractions directory for details)
-
- 2. Compile everything named in the STMTPROF.CO file into the program library
- containing the abstractions or a sublibrary whose parent library contains
- all the abstractions. STMTPROF.CO lists file names in the correct
- compilation order.
-
- 3. Link STMTPROF with the program library where everything was compiled.
- To do this using the DEC Ada compiler type:
- $ acs link stmtprof
-
- To run the tool on VMS:
-
- 1. Define a logical symbol for the executable of STMTPROF. For example,
-
- STMTPROF :== $DRB1:[NOSC.TOOLS.STMTPROF]STMTPROF.EXE
-
- NOTE: The full path name of the executable is required in the
- definition of the symbol. The pathname given here is just an example
- and will be different on your system.
-
- 2. Enter the command with appropriate parameters. For example,
-
- STMTPROF (SOURCE=>"test.ada", OUTPUT=>"test.out");
-
- Entering the command STMTPROF with no parameters gives a brief
- description of how to use the tool.
-
- Files contained in this directory:
-
- STMTPROF.CO -- Compilation order for statement profile sources
- STMTPROF.EXE -- VMS 4.0 statement profile executable
-
- The [.SOURCE] subdirectory contains most of the sources that make up the
- statement profile tool. Other sources are contained in the abstractions
- directory.
-
- Files in [.SOURCE]:
-
- The source files which make up the statement profile tool are as follows:
-
- STMTPROF.ADA -- the driver which deals with the command line
- SPUTILS.SPC -- the procedures which control gathering info and reporting
- SPUTILS.BDY
-
- Most of the sources for the parser which the statement profile tool uses
- are in the abstractions directory. The four units which are unique to this
- tool are as follows:
-
- APPLYACT.SUB -- A subunit of the parser which calls the action subprograms
- GETNEXT.SUB -- A subunit of the lexer which returns non-comment tokens
- to the lexer and buffers comments
- GRMCONST.BDY -- Grammar constants for the parse tables
- PTBLS.BDY -- The parse tables.
-
- The ACVC A tests were used in testing the statement profile tool.
-
- The [.DOC] subdirectory contains the documentation for the statement profile
- tool.
-
- Files in [.DOC]:
-
- USERMAN.MEM -- Statement profile user's manual
- USERMAN.RNO -- Runoff input for user's manual
- STMTGRM.LIS -- Listing of statement profile grammar. The rule numbers
- in this file may be used to make changes to the case
- statement in the Apply_Actions subunit.
- STMTPROF.CNT-- Statement counts and line counts of statement profile
- source files.
-
-