A Caltech Library Service

Using Logic Programming for Compiling APL

Derby, Howard (1984) Using Logic Programming for Compiling APL. California Institute of Technology . (Unpublished)

See Usage Policy.

Other (Adobe PDF (1.6MB))
See Usage Policy.


Use this Persistent URL to link to this item:


APL is a dynamically typed language which deals with arrays whose type, number of dimensions (rank) and size are not fixed at compile time, but are instead determined at run time. This makes APL more difficult to compile than static languages like Pascal or FORTRAN. This thesis describes a prototype implementation of the core of an APL compiler. The intention thus far has been to demonstrate techniques for dealing with some of the issues that arise when trying to implement APL efficiently, rather than to produce a working implementation. The present program does not do any of the initial lexical processing required, and only compiles into intermediate code. Object code is never produced. The prototype has many APL features missing and is undoubtedly full of bugs.

Item Type:Report or Paper (Technical Report)
Group:Computer Science Technical Reports
Record Number:CaltechCSTR:1984.5134-tr-84
Persistent URL:
Usage Policy:You are granted permission for individual, educational, research and non-commercial reproduction, distribution, display and performance of this work in any format.
ID Code:26940
Deposited By: Imported from CaltechCSTR
Deposited On:25 Jul 2002
Last Modified:03 Oct 2019 03:19

Repository Staff Only: item control page