Jump to content

User:Cjoev/PCF

From Wikipedia, the free encyclopedia

Note: This page contains some material I am drafting for addition to the article Programming language for Computable Functions. If I am creating it incorrectly and it does not end up being a user subpage of mine, please inform me. User:Cjoev

Syntax

[edit]

This account of PCF is based upon that of Mitchell (1996).

There are two major syntactic classes in PCF, the terms and the types. In what follows, the letters and will generally stand for types; the letter will stand for a term, and letters such as , and will be variables. Both sets are defined inductively -- that is, each one is the smallest set satisfying certain closure rules. The abstract syntax of types is given by:

and the set of terms is defined as follows:

0 1 2 true false (variables,literals)
if then else (addition, equality test, conditional)
(pairing,projections)
(abstraction, application)
fix (fixed point operator)

To Be Written...

[edit]
  • Derived syntactic forms (let, fun, letrec) and common functions ()
  • Typing Rules
  • Operational semantics (call-by-name vs. call-by-value)
  • Examples

References

[edit]
  • John C. Mitchell. Foundations for Programming Languages. The MIT Press, 1996.