Google
 
   
Login
Username:

Password:


Lost Password?

Register now!
Search
Main Menu
top books
Polls
What do you think about php-deluxe.net?
Excellent!
Cool
Hmm..not bad
What the hell is this?
encyclopedia
recommendation
compare webbrowser
Freenet DSL
Who's Online
4 user(s) are online (4 user(s) are browsing encyclopedia)

Members: 0
Guests: 4

more...
browser tip
Unix Befehle
manual of unix befehle
recommendation!
Sponsored
partner

Turing programming language

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

Turing is a descendant of are available.

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

%Accepts a number and calculates its factorial function factorial (n: int) : real if n = 0 then result 1 else result n * factorial(n-1) end if end factorial var n: int loop put Please input an integer : .. get n exit when n >= 0 put Input must be a non-negative integer. end loop put The factorial of , n, is , factorial(n)

Here is a sample Hello_world program in Turing:

put Hello World!

=External links=

*[http://www.holtsoft.com/turing/ Turing home page] *[http://en.wikibooks.org/wiki/Turing Turing Wikibook] *[http://www.compsci.ca/ Forum for Turing Help, Tutorials, & Source Code]

=See also=

*Alan Turing *Euclid programming language