Command line processor with include file processing
Date/Time of Processing: Wednesday 25 May 1994 02:08:13Am Overall Assessment of System: OK Classification of System: B Basis of Classification -- Syntax Errors PASS Completeness PASS Independence from External Libraries PASS Independence from a Specific Ada Compiler FAIL Explanations for failures -- System contains compiler-specific pragmas or uses Machine_Code Number of ... Files 12 Library Units 12 Lines 1539 Statements 474 Comments 630
languages/ada/asr/components/clp:
File Name Size
--------- ----
clp.zip 5,163
languages/ada/asr/components/cli2:
File Name Size
--------- ----
cli2.zip 7,922
Totals
============== ==============
2 Files 13,085
Command_Line_Processor (CLP) provides a target-independent consistent
command line interface which is based on the package CLI2 in
the ASR. CLP allows a program to work easily with command lines
of the form:
verb file1 file2 ... fileN
and
verb file1 file2 ... fileN outfile
where each fileI may be a conventional file name or an include
file. CLP allows the user to access the referenced files as
a simple linked list, where all file names, including those
referenced by include files, can be acquired by using an iterator.
For example, CLP interprets the command
CAT myfile.txt hisfile.txt @ourfiles.inc
where the file OURFILES.INC contains the lines
-- Include file
file1.txt
file2.txt
-option
file3.txt
as
CAT myfile.txt hisfile.txt file1.txt file2.txt -option file3.txt
DATE VERSION AUTHOR HISTORY 14 May 90 1.0 Richard Conn Initial Release
This prologue must be included in all copies of this software. This software is released to the Ada community. This software is released to the Public Domain (note: software released to the Public Domain is not subject to copyright protection). Restrictions on use or distribution: NONE
This software and its documentation are provided "AS IS" and without any expressed or implied warranties whatsoever. No warranties as to performance, merchantability, or fitness for a particular purpose exist. The user is advised to test the software thoroughly before relying on it. The user must assume the entire risk and liability of using this software. In no event shall any person or organization of people be held responsible for any direct, indirect, consequential or inconsequential damages or lost profits.