PAL CARD CATALOG ENTRY

SHORT DESCRIPTION

Break strings into tokens


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

ASSET PROFILE

UNIT NAME
New_Abstractions/SCANNERS (A2SCANNER)
VERSION
1.0
REVIEW CODE
C1 1.0 A
INET ADDRESS
Not documented in PAL database
AUTHOR
Bill Toscano, Michael Gordon
Intermetrics, Inc,
733 Concord Ave
Cambridge, MA 02138
Contact: Lt. Colonel Falgiano
ESD/SCW
Hanscom AFB, MA 01731
RIGHTS
PUBLIC DOMAIN
COPYRIGHT
(c) 1985 Intermetrics, Inc.
DATE CREATED
1986
DATE RELEASED
1 April 1986
DATE LAST UPDATED
1 April 1986
LOCATION
ASR
C2MUG
PC-BLUE
ENVIRONMENT
VAX/VMS, DEC Ada
LIMITATIONS
Not documented in PAL database
CERTIFICATION
Ada System Certifier_1 1.0
Date/Time of Processing: Tuesday   24 May       1994 01:44:06Pm
Overall Assessment of System: OK
Classification of System: A
Basis of Classification --
Syntax Errors                               PASS
Completeness                                PASS
Independence from External Libraries        PASS
Independence from a Specific Ada Compiler   PASS

Number of ...
Files               2
Library Units       2
Lines             534
Statements        125
Comments          188

FILE LISTING

Directory Display


languages/ada/asr/new-abstractions/scanners:
  File Name                 Size
  ---------                 ----
  scanners.zip             3,754


Totals
  ==============  ==============
    1 Files                3,754

ABSTRACT

	Package Scanners is used to break strings into tokens in a very
simple, efficient manner.  Operations provided are:

Start_Scanner             Initialize Scanner
Is_Empty                  Return TRUE if no characters remain
Is_Alpha                  Return TRUE if Scanner is at an alphabetic char
Is_Digit                  Return TRUE if Scanner is at a digit
Is_Sign                   Return TRUE if Scanner is at a sign char
Is_Digit_Or_Sign          Return TRUE if Scanner is at a digit or sign
Skip_Blanks               Skip leading spaces and tabs
Trim_Blanks               Remove leading and trailing spaces and tabs
Scan_Until                Scan up to be not including a given char
Scan_Word                 Scan a sequence of non-blank chars
Scan_Number               Scan a sequence of numeric chars
Scan_Delimited            Scan delimited string
Scan_Quoted               Scan quoted string, undoubling quotes if needed

        NEW_ABSTRACTIONS  is  used  by NOSC/WIS tools 4.1.1 and 4.1.2.


REVISION HISTORY

DATE         VERSION AUTHOR                  HISTORY 
03/85        1.0  Bill Toscano               Initial Release 


RELEASE NOTICE

This prologue must be included in all copies of this software.
This software is copyright by the author.
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.