comparison Wierd @ 4529:5d83275a60c1

<oerjan> fetch http://esolangs.org/wiki/Wierd
author HackBot
date Sun, 16 Mar 2014 01:49:22 +0000
parents
children
comparison
equal deleted inserted replaced
4528:c8d06895aeef 4529:5d83275a60c1
1 <!DOCTYPE html>
2 <html lang="en" dir="ltr" class="client-nojs">
3 <head>
4 <title>Wierd - Esolang</title>
5 <meta charset="UTF-8" />
6 <meta name="generator" content="MediaWiki 1.20.4" />
7 <link rel="alternate" type="application/x-wiki" title="Edit" href="/w/index.php?title=Wierd&amp;action=edit" />
8 <link rel="edit" title="Edit" href="/w/index.php?title=Wierd&amp;action=edit" />
9 <link rel="shortcut icon" href="/favicon.ico" />
10 <link rel="search" type="application/opensearchdescription+xml" href="/w/opensearch_desc.php" title="Esolang (en)" />
11 <link rel="EditURI" type="application/rsd+xml" href="http://esolangs.org/w/api.php?action=rsd" />
12 <link rel="copyright" href="/wiki/Esolang:Copyrights" />
13 <link rel="alternate" type="application/atom+xml" title="Esolang Atom feed" href="/w/index.php?title=Special:RecentChanges&amp;feed=atom" />
14 <link rel="stylesheet" href="http://esolangs.org/w/load.php?debug=false&amp;lang=en&amp;modules=mediawiki.legacy.commonPrint%2Cshared%7Cskins.vector&amp;only=styles&amp;skin=vector&amp;*" />
15 <meta name="ResourceLoaderDynamicStyles" content="" />
16 <link rel="stylesheet" href="http://esolangs.org/w/load.php?debug=false&amp;lang=en&amp;modules=site&amp;only=styles&amp;skin=vector&amp;*" />
17 <style>a:lang(ar),a:lang(ckb),a:lang(fa),a:lang(kk-arab),a:lang(mzn),a:lang(ps),a:lang(ur){text-decoration:none}
18 /* cache key: esolang_wiki:resourceloader:filter:minify-css:7:c55ed260b29c88e92da480f8fc211872 */</style>
19
20 <script src="http://esolangs.org/w/load.php?debug=false&amp;lang=en&amp;modules=startup&amp;only=scripts&amp;skin=vector&amp;*"></script>
21 <script>if(window.mw){
22 mw.config.set({"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Wierd","wgTitle":"Wierd","wgCurRevisionId":38706,"wgArticleId":963,"wgIsArticle":true,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Two-dimensional languages","Stack-based","Unknown computational class","Implemented","Low-level","1997"],"wgBreakFrames":false,"wgPageContentLanguage":"en","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgMonthNamesShort":["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"wgRelevantPageName":"Wierd","wgRestrictionEdit":[],"wgRestrictionMove":[],"wgVectorEnabledModules":{"collapsiblenav":true,"collapsibletabs":true,"editwarning":true,"expandablesearch":false,"footercleanup":false,"sectioneditlinks":false,"experiments":true},"wgWikiEditorEnabledModules":{"toolbar":true,"dialogs":true,"hidesig":true,"templateEditor":false,"templates":false,"preview":false,"previewDialog":false,"publish":false,"toc":false}});
23 }</script><script>if(window.mw){
24 mw.loader.implement("user.options",function(){mw.user.options.set({"ccmeonemails":0,"cols":80,"date":"default","diffonly":0,"disablemail":0,"disablesuggest":0,"editfont":"default","editondblclick":0,"editsection":1,"editsectiononrightclick":0,"enotifminoredits":0,"enotifrevealaddr":0,"enotifusertalkpages":1,"enotifwatchlistpages":0,"extendwatchlist":0,"externaldiff":0,"externaleditor":0,"fancysig":0,"forceeditsummary":0,"gender":"unknown","hideminor":0,"hidepatrolled":0,"imagesize":2,"justify":0,"math":1,"minordefault":0,"newpageshidepatrolled":0,"nocache":0,"noconvertlink":0,"norollbackdiff":0,"numberheadings":0,"previewonfirst":0,"previewontop":1,"quickbar":5,"rcdays":7,"rclimit":50,"rememberpassword":0,"rows":25,"searchlimit":20,"showhiddencats":0,"showjumplinks":1,"shownumberswatching":1,"showtoc":1,"showtoolbar":1,"skin":"vector","stubthreshold":0,"thumbsize":2,"underline":2,"uselivepreview":0,"usenewrc":0,"watchcreations":0,"watchdefault":0,"watchdeletion":0,"watchlistdays":3,
25 "watchlisthideanons":0,"watchlisthidebots":0,"watchlisthideliu":0,"watchlisthideminor":0,"watchlisthideown":0,"watchlisthidepatrolled":0,"watchmoves":0,"wllimit":250,"vector-simplesearch":1,"useeditwarning":1,"usebetatoolbar":1,"usebetatoolbar-cgd":1,"variant":"en","language":"en","searchNs0":true,"searchNs1":false,"searchNs2":false,"searchNs3":false,"searchNs4":false,"searchNs5":false,"searchNs6":false,"searchNs7":false,"searchNs8":false,"searchNs9":false,"searchNs10":false,"searchNs11":false,"searchNs12":false,"searchNs13":false,"searchNs14":false,"searchNs15":false});;},{},{});mw.loader.implement("user.tokens",function(){mw.user.tokens.set({"editToken":"+\\","watchToken":false});;},{},{});
26 /* cache key: esolang_wiki:resourceloader:filter:minify-js:7:40574ac4fa64d974c93767d264416c8f */
27 }</script>
28 <script>if(window.mw){
29 mw.loader.load(["mediawiki.page.startup","mediawiki.legacy.wikibits","mediawiki.legacy.ajax"]);
30 }</script>
31 <!--[if lt IE 7]><style type="text/css">body{behavior:url("/w/skins/vector/csshover.min.htc")}</style><![endif]--></head>
32 <body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-Wierd skin-vector action-view vector-animateLayout">
33 <div id="mw-page-base" class="noprint"></div>
34 <div id="mw-head-base" class="noprint"></div>
35 <!-- content -->
36 <div id="content" class="mw-body">
37 <a id="top"></a>
38 <div id="mw-js-message" style="display:none;"></div>
39 <!-- firstHeading -->
40 <h1 id="firstHeading" class="firstHeading"><span dir="auto">Wierd</span></h1>
41 <!-- /firstHeading -->
42 <!-- bodyContent -->
43 <div id="bodyContent">
44 <!-- tagline -->
45 <div id="siteSub">From Esolang</div>
46 <!-- /tagline -->
47 <!-- subtitle -->
48 <div id="contentSub"></div>
49 <!-- /subtitle -->
50 <!-- jumpto -->
51 <div id="jump-to-nav" class="mw-jump">
52 Jump to: <a href="#mw-head">navigation</a>, <a href="#p-search">search</a>
53 </div>
54 <!-- /jumpto -->
55 <!-- bodycontent -->
56 <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><p><b>Wierd</b> is a graphical language developed by <a href="/wiki/Chris_Pressey" title="Chris Pressey">Chris Pressey</a>, <a href="/wiki/Ben_Olmstead" title="Ben Olmstead">Ben Olmstead</a>, and <a href="/wiki/John_Colagioia" title="John Colagioia">John Colagioia</a>, in 1997.
57 </p>
58 <h2><span class="editsection">[<a href="/w/index.php?title=Wierd&amp;action=edit&amp;section=1" title="Edit section: Etymology">edit</a>]</span> <span class="mw-headline" id="Etymology">Etymology</span></h2>
59 <p>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".
60 </p>
61 <h2><span class="editsection">[<a href="/w/index.php?title=Wierd&amp;action=edit&amp;section=2" title="Edit section: Syntax and Semantics">edit</a>]</span> <span class="mw-headline" id="Syntax_and_Semantics">Syntax and Semantics</span></h2>
62 <p>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 when a turn needs to be made to keep on the line, an instruction is executed, based on the angle that the turn required. In the following table, from the spec, it is not clear if these angles are meant to be turns to the left (counterclockwise) or to the right (clockwise); however, the first interpreter running on the first example program suggests that they are turns to the left.
63 </p>
64 <pre> 0 degrees NO: No operation, continue as normal.
65 45 degrees P1: Push a data value of 1 onto the stack.
66 90 degrees IF: Pop the stack. If the value is zero, continue
67 executing as normal. If the value is nonzero,
68 however, reverse direction.
69 135 degrees GP: Pop the stack. If the value is zero, pops the next
70 two items from the stack, retrieves (gets) the
71 value stored at the coordinates specified by these
72 values (x, then y), and push it onto the stack. If
73 the first value was nonzero, however, takes the
74 value stored below the coordinates on the stack,
75 and stores (puts) it at the coordinates.
76 180 degrees QU: Jump the gap, if possible. Otherwise, terminate.
77 225 degrees IO: Pop the stack. If the value is zero, read a
78 character from input, pushing it onto the stack.
79 If the value was nonzero, pop the stack, and print
80 the value to output as a character.
81 270 degrees IF: See 90 degrees. Included for flexibility.
82 315 degrees SB: Subtract the top of the stack from the value
83 beneath it, popping both values, and pushing the
84 result.
85 </pre>
86 <p>(from the <a rel="nofollow" class="external text" href="http://esoteric.voxelperfect.net/files/wierd/doc/wierdspec.txt">Wierd spec</a>).
87 </p><p>According to John Colagioia, it was not supposed to be legal to <a href="/wiki/Wire-crossing_problem" title="Wire-crossing problem">cross wires</a>, but several Wierd programs are in circulation that rely on this.
88 </p><p>Wierd was inspired by <a href="/wiki/Brainfuck" title="Brainfuck">Brainfuck</a> and <a href="/wiki/Befunge" title="Befunge">Befunge</a>.
89 </p>
90 <h2><span class="editsection">[<a href="/w/index.php?title=Wierd&amp;action=edit&amp;section=3" title="Edit section: External resources">edit</a>]</span> <span class="mw-headline" id="External_resources">External resources</span></h2>
91 <ul><li> <a rel="nofollow" class="external text" href="http://catseye.tc/projects/wierd/">Wierd project site</a>
92 </li><li> <a rel="nofollow" class="external text" href="http://esoteric.voxelperfect.net/files/wierd/">Wierd files</a>
93 </li></ul>
94
95 <!--
96 NewPP limit report
97 Preprocessor visited node count: 17/1000000
98 Preprocessor generated node count: 61/1000000
99 Post‐expand include size: 54/2097152 bytes
100 Template argument size: 33/2097152 bytes
101 Highest expansion depth: 2/40
102 Expensive parser function count: 0/100
103 -->
104
105 <!-- Saved in parser cache with key esolang_wiki:pcache:idhash:963-0!*!0!!*!*!* and timestamp 20140311125408 -->
106 </div> <!-- /bodycontent -->
107 <!-- printfooter -->
108 <div class="printfooter">
109 Retrieved from "<a href="http://esolangs.org/w/index.php?title=Wierd&amp;oldid=38706">http://esolangs.org/w/index.php?title=Wierd&amp;oldid=38706</a>" </div>
110 <!-- /printfooter -->
111 <!-- catlinks -->
112 <div id='catlinks' class='catlinks'><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Special:Categories" title="Special:Categories">Categories</a>: <ul><li><a href="/wiki/Category:Two-dimensional_languages" title="Category:Two-dimensional languages">Two-dimensional languages</a></li><li><a href="/wiki/Category:Stack-based" title="Category:Stack-based">Stack-based</a></li><li><a href="/wiki/Category:Unknown_computational_class" title="Category:Unknown computational class">Unknown computational class</a></li><li><a href="/wiki/Category:Implemented" title="Category:Implemented">Implemented</a></li><li><a href="/wiki/Category:Low-level" title="Category:Low-level">Low-level</a></li><li><a href="/wiki/Category:1997" title="Category:1997">1997</a></li></ul></div></div> <!-- /catlinks -->
113 <div class="visualClear"></div>
114 <!-- debughtml -->
115 <!-- /debughtml -->
116 </div>
117 <!-- /bodyContent -->
118 </div>
119 <!-- /content -->
120 <!-- header -->
121 <div id="mw-head" class="noprint">
122
123 <!-- 0 -->
124 <div id="p-personal" class="">
125 <h5>Personal tools</h5>
126 <ul>
127 <li id="pt-createaccount"><a href="/w/index.php?title=Special:UserLogin&amp;returnto=Wierd&amp;type=signup">Create account</a></li>
128 <li id="pt-login"><a href="/w/index.php?title=Special:UserLogin&amp;returnto=Wierd" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o">Log in</a></li>
129 </ul>
130 </div>
131
132 <!-- /0 -->
133 <div id="left-navigation">
134
135 <!-- 0 -->
136 <div id="p-namespaces" class="vectorTabs">
137 <h5>Namespaces</h5>
138 <ul>
139 <li id="ca-nstab-main" class="selected"><span><a href="/wiki/Wierd" title="View the content page [c]" accesskey="c">Page</a></span></li>
140 <li id="ca-talk"><span><a href="/wiki/Talk:Wierd" title="Discussion about the content page [t]" accesskey="t">Discussion</a></span></li>
141 </ul>
142 </div>
143
144 <!-- /0 -->
145
146 <!-- 1 -->
147 <div id="p-variants" class="vectorMenu emptyPortlet">
148 <h4>
149 </h4>
150 <h5><span>Variants</span><a href="#"></a></h5>
151 <div class="menu">
152 <ul>
153 </ul>
154 </div>
155 </div>
156
157 <!-- /1 -->
158 </div>
159 <div id="right-navigation">
160
161 <!-- 0 -->
162 <div id="p-views" class="vectorTabs">
163 <h5>Views</h5>
164 <ul>
165 <li id="ca-view" class="selected"><span><a href="/wiki/Wierd" >Read</a></span></li>
166 <li id="ca-edit"><span><a href="/w/index.php?title=Wierd&amp;action=edit" title="You can edit this page. Please use the preview button before saving [e]" accesskey="e">Edit</a></span></li>
167 <li id="ca-history" class="collapsible"><span><a href="/w/index.php?title=Wierd&amp;action=history" title="Past revisions of this page [h]" accesskey="h">View history</a></span></li>
168 </ul>
169 </div>
170
171 <!-- /0 -->
172
173 <!-- 1 -->
174 <div id="p-cactions" class="vectorMenu emptyPortlet">
175 <h5><span>Actions</span><a href="#"></a></h5>
176 <div class="menu">
177 <ul>
178 </ul>
179 </div>
180 </div>
181
182 <!-- /1 -->
183
184 <!-- 2 -->
185 <div id="p-search">
186 <h5><label for="searchInput">Search</label></h5>
187 <form action="/w/index.php" id="searchform">
188 <div id="simpleSearch">
189 <input name="search" title="Search Esolang [f]" accesskey="f" id="searchInput" /> <button name="button" title="Search the pages for this text" id="searchButton" width="12" height="13"><img src="/w/skins/vector/images/search-ltr.png?303" alt="Search" /></button> <input type='hidden' name="title" value="Special:Search"/>
190 </div>
191 </form>
192 </div>
193
194 <!-- /2 -->
195 </div>
196 </div>
197 <!-- /header -->
198 <!-- panel -->
199 <div id="mw-panel" class="noprint">
200 <!-- logo -->
201 <div id="p-logo"><a style="background-image: url(/w/images/c/c9/Logo.png);" href="/wiki/Main_Page" title="Visit the main page"></a></div>
202 <!-- /logo -->
203
204 <!-- navigation -->
205 <div class="portal" id='p-navigation'>
206 <h5>Navigation</h5>
207 <div class="body">
208 <ul>
209 <li id="n-mainpage-description"><a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z">Main page</a></li>
210 <li id="n-portal"><a href="/wiki/Esolang:Community_portal" title="About the project, what you can do, where to find things">Community portal</a></li>
211 <li id="n-Language-list"><a href="/wiki/Language_list">Language list</a></li>
212 <li id="n-recentchanges"><a href="/wiki/Special:RecentChanges" title="A list of recent changes in the wiki [r]" accesskey="r">Recent changes</a></li>
213 <li id="n-randompage"><a href="/wiki/Special:Random" title="Load a random page [x]" accesskey="x">Random page</a></li>
214 <li id="n-help"><a href="/wiki/Esolang:Help" title="The place to find out">Help</a></li>
215 </ul>
216 </div>
217 </div>
218
219 <!-- /navigation -->
220
221 <!-- SEARCH -->
222
223 <!-- /SEARCH -->
224
225 <!-- TOOLBOX -->
226 <div class="portal" id='p-tb'>
227 <h5>Toolbox</h5>
228 <div class="body">
229 <ul>
230 <li id="t-whatlinkshere"><a href="/wiki/Special:WhatLinksHere/Wierd" title="A list of all wiki pages that link here [j]" accesskey="j">What links here</a></li>
231 <li id="t-recentchangeslinked"><a href="/wiki/Special:RecentChangesLinked/Wierd" title="Recent changes in pages linked from this page [k]" accesskey="k">Related changes</a></li>
232 <li id="t-specialpages"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q">Special pages</a></li>
233 <li id="t-print"><a href="/w/index.php?title=Wierd&amp;printable=yes" rel="alternate" title="Printable version of this page [p]" accesskey="p">Printable version</a></li>
234 <li id="t-permalink"><a href="/w/index.php?title=Wierd&amp;oldid=38706" title="Permanent link to this revision of the page">Permanent link</a></li>
235 </ul>
236 </div>
237 </div>
238
239 <!-- /TOOLBOX -->
240
241 <!-- LANGUAGES -->
242
243 <!-- /LANGUAGES -->
244 </div>
245 <!-- /panel -->
246 <!-- footer -->
247 <div id="footer">
248 <ul id="footer-info">
249 <li id="footer-info-lastmod"> This page was last modified on 6 February 2014, at 01:57.</li>
250 <li id="footer-info-copyright">Content is available under <a href="/wiki/Esolang:Copyrights" title="Esolang:Copyrights">CC0 public domain dedication</a>.</li>
251 </ul>
252 <ul id="footer-places">
253 <li id="footer-places-about"><a href="/wiki/Esolang:About" title="Esolang:About">About Esolang</a></li>
254 <li id="footer-places-disclaimer"><a href="/wiki/Esolang:General_disclaimer" title="Esolang:General disclaimer">Disclaimers</a></li>
255 </ul>
256 <ul id="footer-icons" class="noprint">
257 <li id="footer-copyrightico">
258 <a href="http://creativecommons.org/publicdomain/zero/1.0/"><img src="/w/skins/common/images/cc-0.png" alt="CC0 public domain dedication" width="88" height="31" /></a>
259 </li>
260 <li id="footer-poweredbyico">
261 <a href="//www.mediawiki.org/"><img src="/w/skins/common/images/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" width="88" height="31" /></a>
262 </li>
263 </ul>
264 <div style="clear:both"></div>
265 </div>
266 <!-- /footer -->
267 <script>if(window.mw){
268 mw.loader.state({"site":"loading","user":"ready","user.groups":"ready"});
269 }</script>
270 <script src="http://esolangs.org/w/load.php?debug=false&amp;lang=en&amp;modules=skins.vector&amp;only=scripts&amp;skin=vector&amp;*"></script>
271 <script>if(window.mw){
272 mw.loader.load(["mediawiki.user","mediawiki.page.ready","mediawiki.searchSuggest","ext.vector.collapsibleNav","ext.vector.collapsibleTabs","ext.vector.editWarning"], null, true);
273 }</script>
274 <script src="http://esolangs.org/w/load.php?debug=false&amp;lang=en&amp;modules=site&amp;only=scripts&amp;skin=vector&amp;*"></script>
275 <!-- Served in 0.110 secs. -->
276 </body>
277 <!-- Cached 20140311125408 -->
278 </html>