/guid/9202a8c04000641f8000000005663671 rename
Summary
The Cat programming language is a functional stack-oriented programming language inspired by the...
Content
The Cat programming language is a functional stack-oriented programming language inspired by the Joy programming language. Joy and Cat differ from most functional languages (e.g Scheme, Haskell) and language formalisms (e.g. lambda calculus, combinatory logic) in that they are based on the composition of functions rather than function application. Cat and Joy both bear more resemblance to combinatorial logic calculi (such as the SKI calculus or the B,C,K,W system) than to the lambda calculus due to the lack of names.
The Cat language was designed with static typing in mind, and as such there is somewhat less flexibility but more safety than is available in the Joy programming language.
Cat is intended as a multi-purpose language with an emphasis on usage as an intermediate language and as an educational language.
Like Joy, programs in Cat are constructed from existing programs using two operations: composition and quotation. All Cat programs can be thought of as functions that map from one stack to another. Because Cat has no operations that refer to previous stack states, Cat can be easily implemented using a single mutable shared stack.
Two adjacent terms in Cat imply the
Created by:
Freebase Data Team
Jul 28, 2007
Last edited by:
Freebase Data Team
Jul 28, 2007
Recent Discussions about None
There is no discussion about this document.
Start the Discussion »