ALS Prolog Compiler & Development Environment
Clone or download
kenbowen Merge pull request #131 from AppliedLogicSystems/jekyllize-docs
Added docs target for building package docs via Jekyll.
Latest commit 771e46b Sep 10, 2018

README.md

Welcome to the ALS Prolog Source Tree

Travis-CI Build Status Appveyor Build Status

The ALS Prolog source tree is divided into core and peripheral directories. The core directory contains the source for the Prolog compiler, runtime, and IDE. The peripheral directories contain manuals, examples, extensions, etc. The tree is hosted on GitHub at:

https://github.com/AppliedLogicSystems/ALSProlog

Build Instructions

Use git clone https://github.com/AppliedLogicSystems/ALSProlog.git to obtain the tree.

Linux, Unix-like systems, including Mac OS X and Cygwin:

Locate yourself in the toplevel 'unix' directory in the tree, and execute 'make'. When the build completes, you will find a folder

unix/linux/als-prolog	
	or 	
unix/darwin/als-prolog
	or 	
unix/cygwin/als-prolog
	or possibly
unix/<flavor>/als-prolog

where darwin is the Mac OS X flavor of Unix, and <flavor> is possibly some other flavor of unix detected by the build process.

Windows:

Locate yourself in the toplevel 'win32' directory in the tree, and execute 'make'. When the build completes, you will find a folder

win32/als-prolog	

Build Dependencies

Linux

Generally, a GNU/Linux OS with standard build tools (Make, GCC with 32-bit support), Git, Ruby, Libcurl, and Tcl/Tk. Packages for popular distributions:

Debian/Ubuntu: sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install build-essential git gcc-multilib ruby ruby-dev php libcurl4-openssl-dev:i386 tk-dev:i386

CentOS/Fedora: sudo yum groupinstall 'Development Tools' && sudo yum install ruby ruby-dev php glibc-devel.i686 libgcc.i686 libcurl.i686 tcl-devel.i686 tcl.i686 tk-devel.i686 tk.686

Mac OS X

Xcode command line tools. For version before High Sierra (10.13), a recent version of Ruby is required. Homebrew Ruby is recommended.

Windows

Cygwin 32-bit is used to build both Win32 and Cygwin, with packages:

  • Devel (git make gcc-core mingw64-i686-gcc-core libcrypt-devel mingw64-i686-libgcrypt)
  • Tcl-Tk (tcl-tk-devel mingw64-i686-tcl mingw64-i686-tk)
  • Libcurl (mingw64-i686-curl php procps)
  • Archive (zip)
  • X11 (optional to run X11 alsdev)

Ruby installed via RubyInstaller (use recommended Ruby+DevKit version).