Command line interface implemented for several compilers
Date/Time of Processing: Wednesday 25 May 1994 02:06:56Am 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 8 Library Units 8 Lines 1094 Statements 325 Comments 456
languages/ada/asr/components/cli2: File Name Size --------- ---- cli2.zip 7,922 Totals ============== ============== 1 Files 7,922
CLI2 is a general-purpose command line interface which is similar in concept to the UNIX ARGC/ARGV command line parameter passing mechanism. CLI2 fills a void I have felt in Ada for some time, providing a package specification which provides for a transportable command line interface and a selection of package bodies which implement this interface based on the compiler being employed by the user. A general-purpose package body is also provided to implement the interface (by prompting the user after the program runs) if he is using a compiler not currently supported by the supplied package bodies. Package bodies which implement CLI2 are included for the following Machines/Systems: SUN 3/260 (SunOS 3.5), VADS 5.41 SUN 3/260 (SunOS 3.5), Alsys 3.2 VAX 11/785 (VMS 4.5), DEC Ada 1.3-24 MSDOS 3.3, IntegrAda 4.0.1 MSDOS 3.3, Meridian Ada 3.0 CAIS (DoD-STD-1838, 9 Oct 86) Later versions of these compilers have been found to compile these CLI package bodies as well.
DATE VERSION AUTHOR HISTORY 2 Feb 88 1.0 Richard Conn Initial Release 12 May 89 1.1 Richard Conn Update; added VAX/VMS, IntegrAda, CAIS 12 Apr 90 1.2 Richard Conn Update; added Meridian and MIL-HDBK-1804 PDL
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.