Everything2
Near Matches
Ignore Exact
Full Text
Everything2

turing

"turing" is also a: user

created by Pseudo_Intellectual

(thing) by mE123 (1 y) (print)   ?   (I like it!) Mon Jan 08 2001 at 2:55:27

A programming language developed by U of T and sold though Holdsoft (http://www.holtsoft.com/turing/home.html)

I found the syntax to be very similar to Pascal. It is a good language to learn programming with but once you have grasped the basic concepts of coding it is time to move on. And, yes it is named after Alan Turing. Oh, and even though it may say on HoldSoft's web page that "Turing is used generally used to teach programming at many universities in the United States and Canada as well as institutions around the world. ", I am yet to find someone from outside of Ontario that knows that Turing is a programming language, never mind uses it.

Example of Turing Code:

% Roll a die until you get 6.  (This line is a comment)
      var die : int
      loop
           randint (die, 1, 6)
           exit when die = 6
           put "This roll is ", die
      end loop
      put "Stopping with roll of 6"

I think the development of Turing has stopped. Most of their effort is going in to OOT (Which is actual not that bad a language to make fast dirty programs.).

(thing) by syntax (2.9 y) (print)   ?   (I like it!) Tue May 13 2003 at 14:58:06

This is a turing program that uses loops to display a triangle of stars:
var numRows : int := (10) * 2 %variables are declared here
var intCount : int := 10
get numRows
numRows := numRows * 2
intCount := numRows

if numRows > 0 then
for row : 1 .. numRows by 2
for x : 1 .. (intCount)
put " " ..
end for
for column : 1 .. row
put "*" ..
end for
put ""
intCount := intCount - 1
end for
else numRows := numRows + 2
intCount := intCount + 1
for row : numRows .. 1 by 2
for x : (intCount) .. 1
put " " ..
end for
for column : row .. 0
put "*" ..
end for
put ""
intCount := intCount - 1
end for
end if

A sample result if the number 4 is entered:

^^^*
^^***
^*****
*******


printable version
chaos

Alan Turing Turing test Turing Machine World's most narrowly useful programming language
Turing machine equivalent Turing Intelligence Godel's theorem Gimp is not superior to Photoshop
J. Alfred Prufrock People with programming languages named after them Brainfuck cilly
John von Neumann :CueCat Lady Godiva Snow Crash
Computing Machinery and Intelligence Turing (A Novel about Computation) Variants of Turing Machines Fragile Animation
programming language philosophers software weapon hiragana
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
What you are reading:
Euchre
Forum Romanum
The Darkness
Take now your son, your only son, Isaac
Joseph Mallord William Turner
Lesser known female artists
Go
OBD-II
There exists no 1:1 mapping between words in different languages
I called for the Emergency Destruct Plan
Searching for signs of life in the bottom of a cup of cold coffee
The Lonely Gardener
Batman
New Writeups
SubSane
Making Love to a 9-Foot Woman(person)
Ouzo
Thoughts(idea)
antigravpussy
I fall silent, listening. The breadcrumbs are talking about us(person)
calgon
Buffalo Bill by the pool(poetry)
gate
Anarchy is Order(idea)
ushdfgakjasgh
Scribeling(thing)
XWiz
Trism(review)
artman2003
Briefcase Full of Souls - Part I(fiction)
Dreamvirus
Alan Ladd(person)
waverider37
Harold Holt(person)
The Debutante
Until death do us part(fiction)
Ysardo
a brother to a sister(personal)
antigravpussy
your warm whispers(personal)
Clarke
Multiculturalism(idea)
aneurin
Earl of Landaff(person)
This affordable entertainment brought to you by The Everything Development Company