
	Graphic  Lisp	V 2.8.0

	Written from 1991 to 1996 by Andrea Michele Zoia
					azoia@novanet.it

	Graphic LISP language

Runs with MSDOS WINDOWS and UNIX-LINUX-XENIX. In the root directory
there are sources of entire LISP language ( written in  ANSI-C standard ),
in the subdirs DOS, WINDOWS, UNIX, XENIX there are implementation 
specific sources for these.

In the subdirs there are some makefiles for build all.

With MSDOS implementation I put the .PRJ files for Borland C++3.1, 
Borland C++2.0, and Borland TurboC 2.0.
Remember to change the source directory on the Borland's IDE, the root
should be called LISPSRC.
There are some empty subdirs where compiler will puts the .OBJs and .EXEs 

 - This code is released under GNU License. Read the file COPYING.


-----------	HOW TO BUILD	-----------------
Linux:
	Go in subdir. 'linux' and type 'make'. 
	'linux/out' directory will 
	contain all object files and the executable 'closlinux'.
	No graphic functions are supported.
	Maybe I will support X.

	In root directory there is a precompiled closlinux.
	It uses libm.so.5 (5.0.0)
		libc.so.5 (5.0.9)

Xenix:
	Go in subdir. 'xenix' and type 'make'. 
	'xenix/out' directory will 
	contain all object files and the executable 'closxen'
	No graphic functions are supported.

Unix:
	Go in subdir. 'unix' and type 'make'. 
	'unix/out' directory will 
	contain all object files and the executable 'closunix'
	No graphic functions are supported.

MsDos:
	First you MUST convert to DOS nl=0xd 0xa format all source files in 
	root directory using the program 'conv':
	Simply go in 'conv' directory and type 'make todos'(from a unix system)
	Typing 'make tounix' causes a retranslation of files.
	Multiple 'make tounix' or 'make todos' should not cause chaos.
	
	Go in subdir. 'dos' and run "Borland Turbo C 2.0 (yes! the older one)" 
	or Borland C++3.0.

	For TurboC2.0 use the .prj file clostcc2.prj and config file
	clostcc2.tc, remap the drives and the directories you use for 
	lib, include, .....,   and build all. 

	For BorlandC++3.0 use the .prj file closbcc3.prj, 
	remap the drives an the directories you use for
	lib, include, .....,   and build all. 

	After rebuild dos/dosbc3 or dos/dostc2' directories will 
	contain all object files and the executable 'closbc3' or 'clostc2.
	Full graphic functions are supported.
	

Windows (3.11):
	First you MUST convert to DOS nl=0xd 0xa format all source files in 
	root directory using the program 'conv':
	Simply go in 'conv' directory and type 'make todos'(from a unix system)
	Typing 'make tounix' causes a retranslation of files.
	Multiple 'make tounix' or 'make todos' should not cause chaos.

	Go in subdir. 'windows' and run Borland C++3.0.

	Use the .prj file winclos.prj, 
	remap the drives an the directories you use for
	lib, include, .....,   and build all. 

	After rebuild windows/winbc3 directory will 
	contain all object files and the executable 'winclos'.
	Full graphic functions are supported in a separate window.


---------------- HOW TO RUN ------------------------------

Command line options:

-Nxxxxx nodes          -Sxxxxx string space
-Hxxxxx hash entries   -Ixx max identifier lenght
-Rxx max string lenght -A case-sensitive
-A- no case-sensitive  -C bad char error
-C- bad char warning   -W store options in clos.cfg (or in /etc/closlinux.cfg)

First you must configure your clos???? copy :

	'clos???? -N10000 -S60000 -H5000 -W'

	(???? mean linux, unix, xen, ecc ...)

Next run of clos???? will uses the stored parameters if they can be find in
the current directory or,in Linux ,in /etc/closlinux.cfg.


In the subdir 'lsp' there are many examples & demo.
Remember that unixes versions do not have graphical function and some examples
can't work.


Example:

	cd lsp/text/prog
	../../../linux/out/closlinux -N10000 -S60000 -H5000 queen.lsp
	
	At the prompt try:
	>(QUEEN 8)	


First Aid:

	To Exit:
	>(EXIT)

	To see atom names:
	>(OBLIST)
	
	To look at memory:
	>(GC)

	To create a function:
	>(defun double(i)(* i 2))
	#<anonymous node 0x$$$$$$$$>
	>(double 4)
	8


-------------------- NOTES ----------------------------

	ALL THE DOCS ARE IN ITALIAN LANGUAGE
	ALL THE COMMENTS IN SOURCE FILES ARE IN ITALIAN LANGUAGE

