# Turing

Turing is an actively used programming language created in 1982.

37Years Old | 1,935Users | 0Jobs |

- Turing ranks in the top 20% of languages
- the Turing wikipedia page
- Turing first appeared in 1982
- See also: euclid, pascal, sp-k, mips, txl
- I have 68 facts about Turing. just email me if you need more.

### Example code from the web:

% 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)

### Example code from Linguist:

% 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)

### Example code from Wikipedia:

% 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)Edit

Last updated February 11th, 2019