Wierd

Wierd

Wierd is a graphical language developed by Chris Pressey, Ben Olmstead, and John Colagioia, in 1997.

Etymology

The name "Wierd," commonly mistaken for a spelling error or a typo, actually comes from a fusing of the words "weird" and "wired." It is often pronounced like the English word "wired", but with extra stress or lengthening of the diphthong, so that it sounds more like "why-eared".

yntax and Semantics

In Wierd, there are only two symbols: whitespace and everything else. Non-whitespace characters are followed in lines (starting in the top left corner, going southeast), and instructions are given by every turn made to the right:

0 degrees NO: No operation, continue as normal. 45 degrees P1: Push a data value of 1 onto the stack. 90 degrees IF: Pop the stack. If the value is zero, continue executing as normal. If the value is nonzero, however, reverse direction. 135 degrees GP: Pop the stack. If the value is zero, pops the next two items from the stack, retrieves (gets) the value stored at the coordinates specified by these values (x, then y), and push it onto the stack. If the first value was nonzero, however, takes the value stored below the coordinates on the stack, and stores (puts) it at the coordinates. 180 degrees QU: Jump the gap, if possible. Otherwise, terminate. 225 degrees IO: Pop the stack. If the value is zero, read a character from input, pushing it onto the stack. If the value was nonzero, pop the stack, and print the value to output as a character. 270 degrees IF: See 90 degrees. Included for flexibility. 315 degrees SB: Subtract the top of the stack from the value beneath it, popping both values, and pushing the result.

(from the [http://esoteric.voxelperfect.net/files/wierd/doc/wierdspec.txt Wierd spec] ).

According to John Colagioia, it was not supposed to be legal to cross wires, but several Wierd programs are in circulation that rely on this.

Wierd was inspired by Brainfuck and Befunge.

External resources

* [http://catseye.tc/projects/wierd Wierd project site]
* [http://esoteric.voxelperfect.net/files/wierd/ Wierd files]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Carissa's Wierd — Infobox musical artist Name = Carissa s Wierd Img capt = Img size = Landscape = Background = group or band Alias = Origin = Seattle, Washington, USA Genre = Indie rock Sadcore Years active = 1995 2003 Label = Brown Sad Robot Associated acts =… …   Wikipedia

  • Mat Brooke — Mat with Grand Archives in London, February 5, 2010 Background information Birth name Mathew Etter Brooke …   Wikipedia

  • Grand Archives — Infobox musical artist Name = Grand Archives Img capt = Grand Archives at the 2007 Bumbershoot festival Background = group or band Origin = Seattle, Washington, USA Instruments = Genre = Indie rock Years active = 2006–present Label = Sub Pop… …   Wikipedia

  • Band of Horses — Band of Horses …   Википедия

  • Pier Gerlofs Donia — Etching of Grutte Pier, from Chronycke ofte Historische Geschiedenis van Frieslant published in 1622.[1] …   Wikipedia

  • Plan B (producer/musician) — Plan B is Seattle song writer, musician, producer James van Leuven.HistoryStarted when Seattle multi instrumentalist James van Leuven, after supporting various bands and projects as a drummer, most notably Automaton (Pacifico Recordings, US) and… …   Wikipedia

  • Band of Horses — Infobox musical artist Name = Band of Horses Img capt = Band of Horses at the 2006 SXSW festival Background = group or band Origin = Seattle, relocated to South Carolina, USA Instruments = Genre = Indie rock Alt country Southern rock Years active …   Wikipedia

  • Coldwave — For the weather phenomenon, see Cold wave. For the American Coldwave, see Industrial metal. Coldwave Stylistic origins New Wave, post punk, gothic rock, Dark Wave Cultural origins Late 1970s, France Typical instruments …   Wikipedia

  • Wijerd Jelckama — (alternatively spelled Wierd and Wijard)Eekhoff, W.(1851). Beknopte geschiedenis van Friesland (in Dutch). Leeuwarden: W. Eekhoff. 138 139.] [cite encyclopedia|first=Jacobus|last=Kok|year=1791|title=Pier Gerlofs Donia|encyclopedia=Vaderlandsch… …   Wikipedia

  • Greate Pier — Pier Gerlofs Donia Une statue de Pier Donia à Kimswerd, Frise. Pier Gerlofs Donia de Kimswerd (1480? 28 octobre 1520) était un guerrier frison, un pirate, un rebelle et un héros populaire. Il est plus connu sous les noms frison Grutte Pier,… …   Wikipédia en Français

Share the article and excerpts

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