Fortress (programming language)

from Wikipedia, the free encyclopedia
Fortress
Publishing year: 2007
Developer: Guy L. Steele, Jr. (Sun Microsystems)
Current  version : 1.0_5033   (September 7, 2011)
Important implementations : Interpreter for the Java platform
Influenced by: Scala , Standard ML , and Haskell
License : BSD license
Fortress website

Fortress is a programming language whose development was initiated by Sun Microsystems . It is led by Guy L. Steele, Jr. , who was involved in creating the Java Language Specification .

history

Fortress, like X10 by IBM and Chapel by Cray Inc. , was originally developed as part of the DARPA High Productivity Computing Systems (HPCS) program. However, the contract was not renewed in November 2006 and Fortress is now being further developed as open source. Fortress is intended as the successor to Fortran , but tries to stay as close as possible to the mathematical notation with the syntax. This is why the syntax most closely resembles that of Scala , Standard ML , and Haskell . A first implementation is available for the Java platform in the form of an interpreter . On April 1, 2008, version 1.0 (both interpreter and specification) was published. Many things were deleted from the specification in order to bring them up to date with the implementation. In July 2012 the development of Fortress was stopped.

Representation of the source text

Fortress supports Unicode characters in identifiers and has its own display rules for numerous language constructs. Examples:

ASCII source code presentation
f(x) = x^2 + sin x - cos 2 x
a[i]
LAMBDA

Hello world program in Fortress

The following program gives Hello World! on the standard output:

component HalloWelt
  export Executable
  run() = print "Hallo Welt!"
end

Web links

Individual evidence

  1. ^ Robert Graybill: High Productivity Computing Systems (HPCS) ( English ) DARPA. Archived from the original on September 6, 2003. Retrieved April 10, 2019.
  2. Fortress Wrapping Up ( Memento of the original from September 24, 2016 in the Internet Archive ) Info: The archive link was inserted automatically and has not yet been checked. Please check the original and archive link according to the instructions and then remove this notice.  @1@ 2Template: Webachiv / IABot / blogs.oracle.com