skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Functional Programming in Computer Science

Technical Report ·
DOI:https://doi.org/10.2172/1237221· OSTI ID:1237221
 [1];  [1]
  1. Los Alamos National Lab. (LANL), Los Alamos, NM (United States)

We explore functional programming through a 16-week internship at Los Alamos National Laboratory. Functional programming is a branch of computer science that has exploded in popularity over the past decade due to its high-level syntax, ease of parallelization, and abundant applications. First, we summarize functional programming by listing the advantages of functional programming languages over the usual imperative languages, and we introduce the concept of parsing. Second, we discuss the importance of lambda calculus in the theory of functional programming. Lambda calculus was invented by Alonzo Church in the 1930s to formalize the concept of effective computability, and every functional language is essentially some implementation of lambda calculus. Finally, we display the lasting products of the internship: additions to a compiler and runtime system for the pure functional language STG, including both a set of tests that indicate the validity of updates to the compiler and a compiler pass that checks for illegal instances of duplicate names.

Research Organization:
Los Alamos National Laboratory (LANL), Los Alamos, NM (United States)
Sponsoring Organization:
USDOE
DOE Contract Number:
AC52-06NA25396
OSTI ID:
1237221
Report Number(s):
LA-UR-16-20225
Country of Publication:
United States
Language:
English

Similar Records

UPC++
Software · Thu May 01 00:00:00 EDT 2014 · OSTI ID:1237221

Programming language support for geometric computations
Miscellaneous · Sun Jan 01 00:00:00 EST 1989 · OSTI ID:1237221

Petri Net models for the evaluation of applicative programs based on lamda-expressions
Journal Article · Fri Jul 01 00:00:00 EDT 1983 · IEEE Trans. Software Eng.; (United States) · OSTI ID:1237221