This document describes:
The Logic Server API supports:
Amzi! Prolog + Logic Server can be readily ported to any platform that supports C++, and might have already been ported for your environment. Let us know if you are interested.
Amzi! Prolog + Logic Server is distributed as a packed archive file or in an installation package. The full system will be installed in an 'amzi' directory with two subdirectories. One contains the core files, 'apls', and the other the IDE, 'ide', which is a version of Eclipse pre-setup for Prolog development. The two directories will look like:
amzi apls Set AMZI_DIR to this directory for Logic Server development bin Executables, put on your PATH to run command line utilities abin Prolog binaries docs Documentation ... Other directories ide eclipse(.exe) The IDE ... Supporting directories for the IDE
To extract the files, put the archive(s) in your root or user directory or whatever directory you want to contain the directory tree. Then follow the appropriate instructions for your operating system.
Follow the install intructions for the installation program. The installation will also attempt to modify the environment variables as follows:
Note that the environment variables are not necessary for running the IDE, but are useful when you are building applications with the Logic Server, or trying to run Amzi! from the command line.
After installing the software you will have to activate it, using either the batch 'activate' command in the apls/bin directory, or from the File menu in the IDE.
If you already have Eclipse and Java installed, then download and install just the core Amzi! download. When installed you will see a directory called apls...\eclipse_plugin. You can use the Eclipse facilities for adding a plug-in and point it to that directory. This will add the Amzi! Prolog plug-in to your current install.
In order to run the Amzi! Eclipse IDE you need to install:
Next install the Amzi! Feature into Eclipse as follows:
First, do not install a new version of Amzi! if your maintenance has expired. In the Amzi! Eclipse IDE select Help | Amzi! Version or from the command-line type 'alis' to check your software maintenance and support status.
You can un-install the old version of Amzi!, or rename your old amzi directory and install a new clean copy.
You can revert to the previous version by simply changing the value of AMZI_DIR to point to the old directory.
Under Windows, to remove Amzi!, open the Control Panel and choose Add/Remove Programs. You may have to delete the amzi directory tree if you have modified any files within it (sources, samples, configs, workspace).
To remove Amzi! from your computer manually:
Amzi! Prolog + Logic Server as a compressed archive file that contains the following directory structure:
amzi/apls/
bin - executable files, and, under Windows, .dll and .lsx files.
acmp.exe - command line compiler
alis.exe - command line listener
alnk.exe - command line linker
arun.exe - command line runtime
unlock.exe - command to unlock Amzi! features
amzi.dll - Amzi! windows DLL (Windows)
amzijni.dll - Java 2.0 interface DLL (Windows)
amzinet.dll - .NET interface DLL (Windows)
adebug.lsx - Remote debugger support (Windows)
aodbc.lsx - ODBC extended predicates (Windows)
aosutils.lsx - Operating system dependent extended predicates (Windows)
asock.lsx - Sockets interface LSX (Windows)
abin - Prolog executable files.
acmp.xpl - Compiler load module
aidl.xpl - IDE listener load module
alis.xpl - Listener load module
acgi.plm - Prolog interface to CGI
alib.plm - Prolog library of built-ins
aodbc.plm - Prolog ODBC predicates
asock.plm - Sockets interface Prolog predicates
axrf.xpl - Cross referencing library
date_time.plm - Date/time predicates
debug64.plm - IDE source code debugger support (not 64-bits, just introduced at the 6-4 release level)
list.plm - List library predicates
misc.plm - Miscellaneous predicates
xml.plm - XML parsing library
docs - HTML documentation (see src if it's not here).
amzidoc.htm - Master HTML document, points to all others
eclipse_plugin - Files to install the Amzi! IDE into an existing copy of Eclipse
include - logicserver.h C/C++ header file.
amzi.h - Deprecated C/C++ include file
lib - under Unix, .so and .lsx files.
amzi.lib - Logic Server library for linking (Windows)
amzib.lib - Borland version of Logic Server library (Windows)
libamzi.so (Unix)
libamzijni.so (Unix)
libamzijide.so (Unix)
libalnk.so (Unix)
adebug.lsx - Remote debugger support (Unix)
aosutils.lsx - Operating system dependent extended predicates (Unix)
asock.lsx - Sockets interface LSX (Unix)
lsapis - Logic Server interfaces for other languages/tools.
cgi - CGI executables
delphi - Delphi component (Windows)
java20 - amzi/ls class libraries and JNI interface
vb - VB module (Windows)
samples - various samples, including HTML documentation.
c - C samples chezray - An assortment of Ray Reeve's favorite programs
cgi - CGI samples
cpp - C++ samples
delphi - Delphi samples
dotnet - .NET samples
internet - Internet samples
java - Java samples (JSP, servlets, ASP.NET, .NET and CGI)
lsx - Logic Server Extension samples
odbc - ODBC samples
prolog - Prolog samples
sockets - Sockets samples
vb - Visual Basic samples
src - source code for extensions and documentation.
Copyright ©1987-2011 Amzi! inc. All Rights Reserved. Amzi! is a registered trademark and Logic Server is a trademark of Amzi! inc.