PAL CARD CATALOG ENTRY

SHORT DESCRIPTION

Command line processor with include file processing


MOVEMENT WITHIN THE PAL CARD CATALOG
Move to top-level taxonomy
Move to keyword list

ASSET PROFILE

UNIT NAME
CLP
VERSION
1.0
REVIEW CODE
CS(Sun/Verdix Ada,VAX/DEC Ada,MSDOS/Meridian Ada);ES;AR;C1 1.0 B
INET ADDRESS
RCONN@WSMR-SIMTEL20.ARMY.MIL
AUTHOR
Richard Conn
RIGHTS
PUBLIC DOMAIN
COPYRIGHT
None
DATE CREATED
14 May 1990
DATE RELEASED
14 May 1990
DATE LAST UPDATED
14 May 1990
LOCATION
ASR
AdaNET
ENVIRONMENT
IBM PC (Meridian Ada)
Sun (Verdix Ada)
VAX (DEC Ada)
LIMITATIONS
Not documented in PAL database
CERTIFICATION
Ada System Certifier_1 1.0
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

FILE LISTING

Directory Display


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

ABSTRACT

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


REVISION HISTORY

DATE         VERSION	AUTHOR                  HISTORY
14 May 90      1.0   Richard Conn            Initial Release


RELEASE NOTICE

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


DISCLAIMER

	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.