Using Logic Programming for Compiling APL
- Creators
- Derby, Howard
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
Name | Size | Download all |
---|---|---|
md5:cbdfcce51495682de160f517b3b5f832
|
1.9 MB | Download |
md5:5bb38faf99e08813a0494964dc1f3499
|
1.6 MB | Preview Download |
Additional details
- Eprint ID
- 26940
- Resolver ID
- CaltechCSTR:1984.5134-tr-84
- Created
-
2002-07-25Created from EPrint's datestamp field
- Updated
-
2019-10-03Created from EPrint's last_modified field
- Caltech groups
- Computer Science Technical Reports