ASPL Manual v 1.00
© 2024 by SetSphere.COM


2-1

   ASPL A SIMPLIFIED VIEW

The ASPL interpreter is a general purpose set-calcultor that has many features to do operations on datasets. It is an interactive application where the user interacts with his aggregated datasets at the ASPL prompt, and the application provides many operators to do sophisticated algebraic set operations and display their results in real time. The interpreter also provides a scripting language that is simple but powerful enough to supplement your system with analytical commands. In this chapter, we describe only those features of ASPL that are sufficient for interacting with ASPL.

In this chapter, we describe only those features of ASPL that are sufficient for writing reasonaly interesting scripts.

Comments may be added to a statement by typing two successive semicolons (;;) anywhere to the right and following it with the comment.


Figure: It is possible to use the semicolon (;) to seperate multiple statements that are typed on the same line.

■ ASPL Statements

Statements are typed one to a line. The components of a statement must be seperated by at least one blank. Comments may be added to a statement by typing two successive semicolons (;;) anywhere to the right and following it with the comment.
Any line starting with two successive semicolons (;;) is considered a comment and is ignored by the interpreter.

   this is pre 

aspl> a1 = ggdir /tmp/aa1
    (result is assigned to a1)

aspl> a2 = ggdir /tmp/aa2
    (result is assigned to a2)



   this is pre 


Figure:

It is possible to use the semicolon (;) to seperate multiple statements that are typed on the same line.

ASPL statements are of three kinds: set operations, aspl directives, and aspl commands.

set operations are expressions that starts with a set operator mnemonic. These set operations can also be assigned to identifiers (variables) by preceding them with an identifier name and a the assignment symbols(*). The set operations can also be a functions that return datasets objects. The set operations are carried out through symbolic or keyword operators. density ? sim f&

set operations are of five kinds: set operators, sequence alignment operators, similarity operators, directive commands, and miscellanous UNIX like commands.