Turing (programming language)

Turing is a high-level, general purpose programming language developed in 1982 by Ric Holt and James Cordy, at University of Toronto in Ontario, Canada.

Uses your system voice; voice and rate in settings.

≈ 7 min read

Cite, export and learn8 citation formats · 8 exports · lesson and quiz

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

Turing is a high-level, general purpose programming language developed in 1982 by Ric Holt and James Cordy, at University of Toronto in Ontario, Canada. It was designed to help students taking their first computer science course learn how to code. Turing is a descendant of Pascal, Euclid, and SP/k with a clean syntax and precise machine-independent semantics.

Turing 4.1.0 is the latest stable version. Versions 4.1.1 and 4.1.2 do not emit standalone program .exe files. Versions pre-4.1.0 have outdated syntax and functions.

  • 4 Turing+
  • 5 Object-Oriented Turing
  • 6 References
  • 7 Further reading
  • 8 External links
  • Overview

    edit edit source

    Named after British computer scientist Alan Turing, Turing is used mainly as a teaching language at the high school and university level.[1] Two other versions exist, Object-Oriented Turing and Turing+, a systems programming variant. In September 2001, "Object Oriented Turing" was renamed "Turing" and the original Turing was renamed "Classic Turing". Turing is now unsupported by Holt Software Associates in Toronto, Ontario. Turing was widely used in high schools in Ontario as an introduction to programming.[2]

    On November 28, 2007, Turing, which was previously a commercial programming language, became freeware, available to download from the developer's website free of charge for personal, commercial, and educational use.[3][4][5]

    The makers of Turing, Holt Software Associates, have since ceased operations, and Turing has seen no further development since November 25, 2007.[4]

    Syntax

    edit edit source

    Turing is designed to have a lightweight, readable, intuitive syntax. Here is the entire "Hello, World!" program in Turing with syntax highlighting:

    put "Hello World!"

    Turing avoids semicolons and braces, using explicit end markers for most language constructs instead, and allows declarations anywhere. Here is a complete program defining and using the traditional 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)

    Open implementations

    edit edit source

    There are two open source alternative implementations of Turing: Open Turing, an open source version of the original interpreter, and TPlus, a native compiler for the concurrent system programming language variant Turing+. OpenT, a project to develop a Turing compiler, was discontinued.

    Open Turing

    edit edit source

    Open Turing is an open-source implementation of the original Turing interpreter for Windows written by Tristan Hume. It includes speed improvements, new features such as OpenGL 3D and a new code editor. It is fully backwards compatible with the closed-source implementation.[6]

    TPlus

    edit edit source

    TPlus is an open-source implementation of original (non-Object-Oriented) Turing with systems programming extensions developed at the University of Toronto and ported to Linux, Solaris, and Mac OS X at Queen's University in the late 1990s.[7] TPlus implements Turing+ (Turing Plus), a concurrent systems programming language based on the original Turing programming language. Some, but not all, of the features of Turing Plus were eventually subsumed into the present Object-Oriented Turing language. Turing Plus extends original Turing with processes, monitors (as specified by C.A.R. Hoare), and language constructs needed for system programming such as binary input-output, separate compiling, variables at absolute addresses, type converters and other features.

    Turing+

    edit edit source

    Turing+ (Turing Plus) is a concurrent systems programming language based on the Turing programming language designed by James Cordy and Ric Holt, then at the University of Toronto, Canada, in 1987. Some, but not all, of the features of Turing+ were eventually subsumed into Object-Oriented Turing. Turing+ extended original Turing with processes and monitors (as specified by C.A.R. Hoare) as well as language constructs needed for systems programming such as binary input-output, separate compiling, variables at absolute addresses, type converters, and other features.

    Turing+ was explicitly designed to replace Concurrent Euclid in systems-programming applications. The TUNIS operating system, originally written in Concurrent Euclid, was recoded to Turing+ in its MiniTunis implementation. Turing+ has been used to implement several production software systems, including the language TXL.

    Object-Oriented Turing

    edit edit source

    Object-Oriented Turing is an extension of the Turing programming language and a replacement for Turing Plus created by Ric Holt[8][9] of the University of Toronto, Canada, in 1991. It is imperative, object-oriented, and concurrent. It has modules, classes, single inheritance, processes, exception handling, and optional machine-dependent programming.

    There is an integrated development environment under the X Window System and a demo version.[10] Versions exist for Sun-4, MIPS, RS-6000, NeXTSTEP, Windows 95, and others.

    References

    edit edit source
    1. ^ Fluck, A.; Webb, M.; Cox, M.; Angeli, C.; Malyn-Smith, J.; Voogt, J.; Zagami, J. (2016). "Arguing for computer science in the school curriculum". Journal of Educational Technology & Society. 19 (3): 38–46. Wikipedia revision 1366134604, retrieved 2026-11-22
    2. ^ info@compsci.ca. "Download Turing & RTP (Ready to Program)". compsci.ca. Retrieved 2018-08-21. Wikipedia revision 1366134604, retrieved 2026-11-22
    3. ^ "Holt Software Associates". January 2008. Archived from the original on 2010-04-05. Retrieved 2010-04-10. Wikipedia revision 1366134604, retrieved 2026-11-22
    4. ^ a b "Holt Software Associates (old)". 2007-11-25. Archived from the original on 2010-04-17. Retrieved 2010-04-10. Wikipedia revision 1366134604, retrieved 2026-11-22
    5. ^ "Download Turing 4.1.1". compsci.ca Blog. 2007-11-28. Retrieved 2009-01-10. Wikipedia revision 1366134604, retrieved 2026-11-22
    6. ^ Hume, Tristan. "Open Turing". Retrieved 6 May 2012. Wikipedia revision 1366134604, retrieved 2026-11-22
    7. ^ Cordy, James. "Turing+ 6.1". Retrieved 11 December 2020. Wikipedia revision 1366134604, retrieved 2026-11-22
    8. ^ Mancoridis, Spiros; Holt, Richard C.; Penny, David A. (1993). "A conceptual framework for software development". Proceedings of the 1993 ACM conference on Computer science - CSC '93. pp. 74–80. doi:10.1145/170791.170806. ISBN 0-89791-558-5. Wikipedia revision 1366134604, retrieved 2026-11-22
    9. ^ Holt, RC (1992). Turing reference manual (3rd. ed.). Toronto: Holt Software Associates. ISBN 978-0-921598-15-2. OCLC 71476276. Wikipedia revision 1366134604, retrieved 2026-11-22
    10. ^ "9.6) Object-Oriented Technology ftp: 11 OOT (OO Turing demo)". Stason.org / Object-Oriented Technology FAQ. Retrieved 2026-05-22. Wikipedia revision 1366134604, retrieved 2026-11-22

    Further reading

    edit edit source edit edit source Wikibooks has a book on the topic of: Turing InternationalNationalOther

    Text derived from https://en.wikipedia.org/w/index.php?oldid=1366134604 under CC BY-SA 4.0; modifications have been made.

    Words in each sectionOpen implementationsOpen implementationsOpen implementations: 209 words209OverviewOverviewOverview: 149 words149Turing+Turing+Turing+: 130 words130SyntaxSyntaxSyntax: 125 words125Further readingFurther readingFurther reading: 103 words103Object-Oriented TuringObject-Oriented TuringObject-Oriented Turing: 85 words85
    Words in each section. Measured from the stored article body; sections below the minimum are not plotted.

    Provenance

    snapshot enwiki-001366134604 · captured 2026-07-26 · ledger · version history

    Cite this page as: encyclopegia.org, “Turing (programming language)”, snapshot enwiki-001366134604. https://encyclopegia.org/a/turing-programming-language