% (C)1992 Institute for New Generation Computer Technology
% (Read COPYRIGHT for detailed information.)

1.  Environment

The PIMOS (more than version 3.5) should be run on Multi-PSI, PIM/m 
or their Pseudo Systems.  This software runs with using preprocessor 
mechanism provided by KL1 compiler of PIMOS (version 3.5 or more).  

2.  How to install this software.  

(1) Copy all the provided files to a directory that can be accessed 
    from the system that you want to install this software.  

(2) Logging in the PIMOS and you invoke shell.  Please change the 
    directory that all the files are copied.  

(3) Execute the command file `ayainst.com' to install the software.  
    In this command file, compilation, linkage and unloading the 
    executable code as a file named `ayacmp.sav' in the same directory.  

    Once you create the unloaded file, you can load executable code from
    this file.  

3. Check the behavior of this software 

You can check the behavior of this software by the sample program.  
You can compile and execute that program.  

The sample program is a prime number generator.  The log of compilation
and execution are as follows.  

(1) Compilation
	The program is compiled on the shell.  

	Shell>> compile
	** KL1 Compiler **
	COMPILE> prime.aya
	Compile File : icpsi605::>sys>user>susaki>sample>prime.aya.1
	!WARNING! no with_macro declaraion. assumed `pimos'.
	[prime.aya@0] Compile Module : prime
	=> module prime .
	Compile Succeeded : prime

	"susaki:: prime" Loaded
	Total Number of Warning : 1
	COMPILE> !exit

(2) Execution
	The compiled program is executed on the listener.  The module name
	is `prime' and the predicate name is `top'.  The maximum number is
	passed as an argument.  


	[1] prime:top(20).
	2
	3	
	5
	7
	11
	13
	17
	19

	[2] 	



