fbpx
Wikipedia

Categorical abstract machine

The categorical abstract machine (CAM) is a model of computation for programs[1] that preserves the abilities of applicative, functional, or compositional style. It is based on the techniques of applicative computing.

Overview

The notion of the categorical abstract machine arose in the mid-1980s. It took its place in computer science as a kind of theory of computation for programmers, represented by Cartesian closed category and embedded into the combinatory logic. CAM is a transparent and sound mathematical representation for the languages of functional programming. The machine code can be optimized using the equational form of a theory of computation. Using CAM, the various mechanisms of computation such as recursion or lazy evaluation can be emulated as well as parameter passing, such as call by name, call by value, and so on. In theory, CAM preserves[how?] all the advantages of object approach towards programming or computing.

The main current implementation is OCaml, which added class inheritance and dynamic method dispatch to Caml the Categorical Abstract Machine Language. Both are variants of MetaLanguage ML, and all three languages implement type inference.

Implementation

One of the implementation approaches to functional languages is given by the machinery based on supercombinators, or an SK-machine, by D. Turner. The notion of CAM gives an alternative approach. The structure of CAM consists of syntactic, semantic, and computational constituents. Syntax is based on de Bruijn’s notation, which overcomes the difficulties of using bound variables. The evaluations are similar to those of P. Landin’s SECD machine. With this coverage, CAM gives a sound ground for syntax, semantics, and theory of computation. This comprehension arises as being influenced by the functional style of programming.

See also

References

  1. ^ Cousineau G., Curien P.-L., Mauny M. The categorical abstract machine. — LNCS, 201, Functional programming languages computer architecture.-- 1985, pp.~50-64.

Further reading

  • Wolfengagen, V.E. : Computations with Objects through Examples and Exercises. 2nd ed. M.: "Center JurInfoR" Ltd., 2003. x+337 с. ISBN 5-89158-101-9.

categorical, abstract, machine, this, article, needs, additional, citations, verification, please, help, improve, this, article, adding, citations, reliable, sources, unsourced, material, challenged, removed, find, sources, news, newspapers, books, scholar, js. This article needs additional citations for verification Please help improve this article by adding citations to reliable sources Unsourced material may be challenged and removed Find sources Categorical abstract machine news newspapers books scholar JSTOR December 2012 Learn how and when to remove this template message The categorical abstract machine CAM is a model of computation for programs 1 that preserves the abilities of applicative functional or compositional style It is based on the techniques of applicative computing Contents 1 Overview 2 Implementation 3 See also 4 References 5 Further readingOverview EditThe notion of the categorical abstract machine arose in the mid 1980s It took its place in computer science as a kind of theory of computation for programmers represented by Cartesian closed category and embedded into the combinatory logic CAM is a transparent and sound mathematical representation for the languages of functional programming The machine code can be optimized using the equational form of a theory of computation Using CAM the various mechanisms of computation such as recursion or lazy evaluation can be emulated as well as parameter passing such as call by name call by value and so on In theory CAM preserves how all the advantages of object approach towards programming or computing The main current implementation is OCaml which added class inheritance and dynamic method dispatch to Caml the Categorical Abstract Machine Language Both are variants of MetaLanguage ML and all three languages implement type inference Implementation EditOne of the implementation approaches to functional languages is given by the machinery based on supercombinators or an SK machine by D Turner The notion of CAM gives an alternative approach The structure of CAM consists of syntactic semantic and computational constituents Syntax is based on de Bruijn s notation which overcomes the difficulties of using bound variables The evaluations are similar to those of P Landin s SECD machine With this coverage CAM gives a sound ground for syntax semantics and theory of computation This comprehension arises as being influenced by the functional style of programming See also EditCombinatory logic Typed lambda calculus Cartesian closed category Applicative computing systems Anonymous recursion Evaluation strategy Explicit substitution SKI combinator calculus Unlambda Currying CamlReferences Edit Cousineau G Curien P L Mauny M The categorical abstract machine LNCS 201 Functional programming languages computer architecture 1985 pp 50 64 Further reading EditWolfengagen V E Combinatory Logic in Programming Computations with Objects through Examples and Exercises 2nd ed M Center JurInfoR Ltd 2003 x 337 s ISBN 5 89158 101 9 Retrieved from https en wikipedia org w index php title Categorical abstract machine amp oldid 1087127706, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.