encyclopegia.org

Hope (programming language)

Hope is a programming language based on functional programming developed in the 1970s at the University of Edinburgh.[src] It predates Miranda and Haskell and is contemporaneous with ML, also developed at the university.[src] Hope was derived from NPL, a simple functional language developed by Rod Burstall and John Darlington in their work on program transformation.[src] NPL and Hope are notable for being the first languages with call-by-pattern evaluation and algebraic data types.[src] Hope was named for Sir Thomas Hope (c.[src] 1681–1771), a Scottish agriculture reformer, after whom Hope Park Square in Edinburgh, the location of the artificial intelligence department at the time of the development of Hope, was also named.[src] The first implementation of Hope used strict evaluation, but there have since been lazy evaluation versions and strict versions with lazy constructors.[src] A successor language Hope+, developed jointly between Imperial College and International Computers Limited, added annotations to dictate either strict or lazy evaluation.[src]

Hope is a programming language based on functional programming developed in the 1970s at the University of Edinburgh.[src] It predates Miranda and Haskell and is contemporaneous with ML, also developed at the university.[src] Hope was derived from NPL, a simple functional language developed by Rod Burstall and John Darlington in their work on program transformation.[src] NPL and Hope are notable for being the first languages with call-by-pattern evaluation and algebraic data types.[src] Hope was named for Sir Thomas Hope (c.[src] 1681–1771), a Scottish agriculture reformer, after whom Hope Park Square in Edinburgh, the location of the artificial intelligence department at the time of the development of Hope, was also named.[src] The first implementation of Hope used strict evaluation, but there have since been lazy evaluation versions and strict versions with lazy constructors.[src] A successor language Hope+, developed jointly between Imperial College and International Computers Limited, added annotations to dictate either strict or lazy evaluation.[src] ==Language details== A factorial program in Hope is: dec fact : num -> num; --- fact 0 <= 1; --- fact n <= n*fact(n-1); Changing the order of clauses does not change the meaning of the program, because Hope's pattern matching always favors more specific patterns over less specific ones.[src] Explicit declarations of data types in Hope are required; there is no type inference algorithm.[src] Hope provides two built-in data structures: tuples and lists.[src] ==Implementations== Roger Bailey's Hope tutorial in the August 1985 issue of Byte references an interpreter for IBM PC DOS 2.0.[src] British Telecom embarked on a project with Imperial College London to implement a version of Hope.[src] The first release was coded by Thanos Vassilakis in 1986.[src] Further releases were coded by Mark Tasng of British Telecom.[src] ==References== ==External links== Hope Interpreter for Windows Entry in the online Dictionary of Programming Languages[src]

24 sentences · 24 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Hope (programming language)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/hope-programming-language. Accessed 25 November 2026.

Chicago

"Hope (programming language)." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/hope-programming-language.

APA

encyclopegia.org. (2026). Hope (programming language). Retrieved November 25, 2026, from https://encyclopegia.org/wiki/hope-programming-language

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

official language

stub · references available

pan-Slavic language

stub · references available

Hawaiʻi Sign Language

stub · references available

Taiwanese Sign Language

stub · references available

Category:Programming languages

stub · references available

International Mother Language Day

stub · references available

polysynthetic language

stub · references available

Category:Films by country or language

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1359703869 · 0.5 · snapshot enwiki-001359703869

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.