Jump to content

Programming language theory

From Wikipedia, the free encyclopedia
The lowercaseGreekletter λ (lambda) is an unofficial symbol of the field of programming-language theory.[citation needed]This usage derives from thelambda calculus,amodel of computationintroduced byAlonzo Churchin the 1930s and widely used by programming-language researchers. It graces the cover[1]of the classic textStructure and Interpretation of Computer Programs,and the title of the so-calledLambda Papersof 1975 to 1980, written byGerald Jay SussmanandGuy Steele,the developers of theScheme programming language.[jargon]

Programming language theory(PLT) is a branch ofcomputer sciencethat deals with the design, implementation, analysis, characterization, and classification offormal languagesknown asprogramming languages.Programming language theory is closely related to other fields includingmathematics,software engineering,andlinguistics.There are a number ofacademic conferencesandjournalsin the area.

History[edit]

In some ways, the history of programming language theory predates even the development of programming languages themselves. Thelambda calculus,developed by Alonzo Church andStephen Cole Kleenein the 1930s, is considered by some to be the world's first programming language, even though it was intended tomodelcomputation rather than being a means for programmers todescribealgorithms to a computer system. Many modernfunctional programming languageshave been described as providing a "thin veneer" over the lambda calculus,[2]and many are easily described in terms of it.

The first programming language to be invented wasPlankalkül,which was designed byKonrad Zusein the 1940s, but not publicly known until 1972 (and not implemented until 1998). The first widely known and successfulhigh-level programming languagewasFortran,developed from 1954 to 1957 by a team ofIBMresearchers led byJohn Backus.The success of FORTRAN led to the formation of a committee of scientists to develop a "universal" computer language; the result of their effort wasALGOL 58.Separately,John McCarthyofMITdevelopedLisp,the first language with origins in academia to be successful. With the success of these initial efforts, programming languages became an active topic of research in the 1960s and beyond.

Timeline[edit]

Some other key events in the history of programming language theory since then:

1950s
  • Noam Chomskydeveloped theChomsky hierarchyin the field of linguistics, a discovery which has directly impacted programming language theory and other branches of computer science.
1960s
1970s
1980s
1990s

Sub-disciplines and related fields[edit]

There are several fields of study that either lie within programming language theory, or which have a profound influence on it; many of these have considerable overlap. In addition, PLT makes use of many other branches ofmathematics,includingcomputability theory,category theory,andset theory.

Formal semantics[edit]

Formal semantics is the formal specification of the behaviour of computer programs and programming languages. Three common approaches to describe the semantics or "meaning" of a computer program aredenotational semantics,operational semanticsandaxiomatic semantics.

Type theory[edit]

Type theory is the study oftype systems;which are "a tractable syntactic method for proving the absence of certain program behaviors by classifying phrases according to the kinds of values they compute".[4]Many programming languages are distinguished by the characteristics of their type systems.

Program analysis and transformation[edit]

Program analysis is the general problem of examining a program and determining key characteristics (such as the absence of classes ofprogram errors). Program transformation is the process of transforming a program in one form (language) to another form.

Comparative programming language analysis[edit]

Comparative programming language analysis seeks to classify programming languages into different types based on their characteristics; broad categories of programming languages are often known asprogramming paradigms.

Generic and metaprogramming[edit]

Metaprogrammingis the generation of higher-order programs which, when executed, produce programs (possibly in a different language, or in a subset of the original language) as a result.

Domain-specific languages[edit]

Domain-specific languagesare languages constructed to efficiently solve problems of a particular part of domain.

Compiler construction[edit]

Compilertheory is the theory of writingcompilers(or more generally,translators); programs that translate a program written in one language into another form. The actions of a compiler are traditionally broken up intosyntax analysis(scanningandparsing),semantic analysis(determining what a program should do),optimization(improving the performance of a program as indicated by some metric; typically execution speed) andcode generation(generation and output of an equivalent program in some target language; often theinstruction setof a CPU).

Run-time systems[edit]

Run-time systemsrefer to the development of programming languageruntime environmentsand their components, includingvirtual machines,garbage collection,andforeign function interfaces.

Journals, publications, and conferences[edit]

Conferences are the primary venue for presenting research in programming languages. The most well known conferences include theSymposium on Principles of Programming Languages(POPL),Programming Language Design and Implementation(PLDI), theInternational Conference on Functional Programming(ICFP),theInternational Conference on Object Oriented Programming, Systems, Languages and Applications(OOPSLA) andtheInternational Conference on Architectural Support for Programming Languages and Operating Systems(ASPLOS).

Notable journals that publish PLT research include theACM Transactions on Programming Languages and Systems(TOPLAS),Journal of Functional Programming(JFP),Journal of Functional and Logic Programming,andHigher-Order and Symbolic Computation.

See also[edit]

References[edit]

  1. ^Abelson, Harold (1996).Structure and Interpretation of Computer Programs.Gerald Jay Sussman, Julie Sussman (2nd ed.). Cambridge, Mass.: MIT Press.ISBN0-262-01153-0.OCLC34576857.
  2. ^"Models Of Computation".wiki.c2.December 3, 2014.Archivedfrom the original on Nov 30, 2020.
  3. ^C. Böhmand W. Gross (1996). Introduction to the CUCH. In E. R. Caianiello (ed.),Automata Theory,p. 35-64/
  4. ^Benjamin C. Pierce. 2002.Types and Programming Languages.MIT Press, Cambridge, Massachusetts, USA.

Further reading[edit]

External links[edit]