Newspeak (programming language)
≈ 2 min read
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.
Newspeak is a programming language and platform in the tradition of Smalltalk and Self being developed by a team led by Gilad Bracha. The platform includes an integrated development environment (IDE), a graphical user interface (GUI) library, and standard libraries. Starting in 2006, Cadence Design Systems funded its development and employed the main contributors, but ended funding in January 2009.
Newspeak is a programming language and platform in the tradition of Smalltalk and Self being developed by a team led by Gilad Bracha. The platform includes an integrated development environment (IDE), a graphical user interface (GUI) library, and standard libraries. Starting in 2006, Cadence Design Systems funded its development and employed the main contributors, but ended funding in January 2009.
Identity
The name Newspeak is inspired by the Newspeak language appearing in George Orwell's dystopian novel Nineteen Eighty-Four. The heading on the programming language's website says "It's doubleplusgood". The motive for the name is that Orwell's Newspeak language grew smaller with each revision; Bracha views this as a desirable goal for a programming language. The language icon is supposed to be Big Brother's eye, as seen in page 3 of the documentation. It should not be confused with the safety critical programming language of the same name designed by Ian Currie of RSRE in 1984, for use with the VIPER microprocessor. Its principal characteristic was that its compiler would ensure all potential exceptional behaviour is explicitly handled by the program. " A declaration of a class Point" class Point x: i y: j = ( " This section is the instance initializer" | "slots declarations are always between bars" public x ::= i. " ::= denotes slot initialization of a mutable slot" public y ::= j. | ) ( "A method" public printString = ( ˆ ’x = ’, x printString, ’ y = ’, y printString ) ) "Instantiation of the Point to the `p` slot inside some class" ... public p := Point x: 42 y: 91. ...
"Hello World" example
HelloBraveNewWorld usingPlatform: platform = ( platform Transcript open show: 'Hello, Oh Brave new world'. )
References
External links
Newspeak Programming Language Draft Specification
Text derived from https://en.wikipedia.org/w/index.php?oldid=1369153553 under CC BY-SA 4.0; modifications have been made.