Span (programming language)

Span (programming language)

Span is a programming language targeting the Parrot virtual machine. Its syntax is meant to be very similar to C, but its philosophy is Smalltalk-like, and it uses Smalltalk-style message syntax. Almost all of Span's library visible to the user is written in Span itself. Span is dynamically typed. The hello world program in Span is

class Hello { static public main: args { Console << "Hello World! "; } }

Span uses blocks ala Smalltalk for all flow control constructs except definition. For example, for this pseudocode fragment:

if x > y print "yes" else print "no"

Span would write

(x > y) ifTrue: { Console << "yes" } ifFalse: { Console << "no" };

Span is currently in very early stages of development.

External links

* [http://homepage.mac.com/matt.kennedy/Span Span homepage]


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Oxygene (programming language) — Oxygene Developer RemObjects Software Stable release 3.0.21 (August 29, 2009; 2 years ago (2009 08 29)) Influenced by Object Pas …   Wikipedia

  • Lasso (programming language) — Infobox Software name = LASSO caption = developer = LassoSoft, LLC latest release version = 8.5.5 latest release date = March 20, 2008 operating system = Mac, Windows, Linux genre = Middleware Application Server license = Proprietary website =… …   Wikipedia

  • language — /lang gwij/, n. 1. a body of words and the systems for their use common to a people who are of the same community or nation, the same geographical area, or the same cultural tradition: the two languages of Belgium; a Bantu language; the French… …   Universalium

  • List of programming languages — Programming language lists Alphabetical Categorical Chronological Generational The aim of this list of programming languages is to include all notable programming languages in existence, both those in current use and historical ones, in… …   Wikipedia

  • Comparison of programming languages (syntax) — Programming language comparisons General comparison Basic syntax Basic instructions Arrays Associative arrays String operations …   Wikipedia

  • Span and div — HTML HTML and HTML5 Dynamic HTML XHTML XHTML Mobile Profile and C HTML Canvas element Character encodings Document Object Model Font family HTML editor HTML element HTML Frames HTML5 video HTML scri …   Wikipedia

  • C-SPAN — Launched March 19, 1979 (C SPAN) …   Wikipedia

  • Comment (computer programming) — For comments in Wikipedia markup, see Help:Wiki markup#Character formatting and WP:COMMENT. An illustration of Java source code with prologue comments indicated in red and inline comments in green. Program code is in blue …   Wikipedia

  • Dynamic programming — For the programming paradigm, see Dynamic programming language. In mathematics and computer science, dynamic programming is a method for solving complex problems by breaking them down into simpler subproblems. It is applicable to problems… …   Wikipedia

  • Aramaic language — Not to be confused with the Amharic language. For the people, see Aramaeans. Aramaic Arāmît Pronunciation [arɑmiθ], [arɑmit], [ɑrɑmɑjɑ], [ɔrɔmɔjɔ] Spoken in Ir …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”