Published January 1, 1984 | Version public
Technical Report Open

Using Logic Programming for Compiling APL

Creators

Abstract

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.

Files

5134_TR_84.pdf

Files (3.5 MB)

Name Size Download all
md5:5bb38faf99e08813a0494964dc1f3499
1.6 MB Preview Download
md5:cbdfcce51495682de160f517b3b5f832
1.9 MB Download

Additional details

Identifiers

Eprint ID
26940
Resolver ID
CaltechCSTR:1984.5134-tr-84

Dates

Created
2002-07-25
Created from EPrint's datestamp field
Updated
2019-10-03
Created from EPrint's last_modified field

Caltech Custom Metadata

Caltech groups
Computer Science Technical Reports