Encyclopedia > Turing programming language

  Article Content

Turing

Redirected from Turing programming language

Turing is a Pascal-like programming language developed in 1982 by Ric Holt[?] and James Cordy[?], then of University of Toronto, Canada.

It is a descendant of Concurrent Euclid[?]. Turing features a clean syntax and is used primarily as a teaching language at the high school and university level. Two other versions exist, Object-Oriented Turing and Turing Plus, a more robust implementation. Turing is available from Holt Software Associates[?] in Toronto. Versions for Unix, Windows and Apple Macintosh are available.

A brief example of Turing is the following recursive function to calculate a factorial.

  function  factorial (n : integer) : integer
    if n = 0 then
      result = 1
    else
      result = n * factorial(n-1)
    end if
  end factorial

  put factorial(10)


http://www.holtsoft.com/turing/home is the Turing home page.

See also: Alan Turing


This article (or an earlier version of it) contains material from the FOLDOC article on Turing (http://www.foldoc.org/foldoc/foldoc.cgi?Turing), used with permission.



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Canadian Music Hall of Fame

... Cohen 1992 Ian and Sylvia[?] 1993 Anne Murray 1994 Rush 1995 Buffy Sainte-Marie[?] 1996 David Clayton-Thomas[?] 1996 Denny Doherty[?] 1996 John Kay[?] ...

 
 
 
This page was created in 27 ms