Whitespace (programming language): Difference between revisions

Content deleted Content added
No edit summary
Syntax: tidy up and merge refs
Line 15:
Data is represented in [[Binary code|binary]] using spaces (0) and tabs (1), followed by a linefeed; thus, space-space-space-tab-space-tab-tab-linefeed is the binary number 0001011, which is 11 in decimal. All other characters are ignored and thus can be used for comments.
 
Code is written as an ''Instruction Modification Parameter'' (IMP) followed by the operation.<ref name="tutorial">{{cite web|url = http://compsoc.dur.ac.uk/whitespace/tutorial.html|title = Whitespace Tutorial|website = CompsocCompSoc.dur.ac.uk|accessdate = 2015-12-08|url-status = dead|archiveurl = https://web.archive.org/web/20151101230744/http://compsoc.dur.ac.uk/whitespace/tutorial.html|archivedate = 1 November 2015|df = dmy-all}}</ref> The table below shows a list of all the IMPs in Whitespace.
{| class="wikitable"
|-
Line 31:
|}
 
Each IMP is followed by one operation defined for that IMP, and a parameter if needed. The list of operations supported in Whitespace is:<ref>[http://compsoc.dur.ac.uk/whitespace/tutorial.html Whitespace tutorial] {{webarchive|urlname=https://web.archive.org/web/20151101230744/http://compsoc.dur.ac.uk/whitespace/"tutorial.html |date=1 November 2015 }}<"/ref>
 
{| class="wikitable"