Technical Report
 

Composition and compilation in functional programming languages

公开 Deposited

可下载的内容

下载PDF文件
https://ir.library.oregonstate.edu/concern/technical_reports/fj2363544

Descriptions

Attribute NameValues
Creator
Abstract
  • Functional programming languages, such as Backus' FP, and high level expression oriented languages, such as APL, are examples of programming languages in which the primary method of program construction is the process of composition. In this paper we describe an approach to generating code for languages based on compositions. The approach involves finding an intermediate representation which grows in size very slowly as additional terms are composed. In particular, the size of the intermediate representation of a composed object should be considerably smaller, and easier to interpret, than the sum of the sizes of the internal representations of the individual elements. We illustrate this technique by showing how to generate conventional code for Backus' language FP. The general technique, however, is applicable to other languages, as well as other architectures.
Resource Type
Date Available
Date Issued
Series
Subject
权利声明
Publisher
Peer Reviewed
Language
Replaces

关联

Parents:

This work has no parents.

单件