This is the talk page for discussing improvements to the Whitespace (programming language) article. This is not a forum for general discussion of the article's subject. |
Article policies
|
Find sources: Google (books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
![]() | This article was nominated for deletion on 2006-09-12. The result of the discussion was keep. |
![]() | This article was nominated for deletion on 2008-01-23. The result of the discussion was keep. |
![]() | This article is rated Start-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||
|
I'm red-green colorblind, is there any way that the colors could be changed to stand out for someone like me?
Thanks,
Centrisian (talk) 20:51, 30 August 2008 (UTC)
--Kizor 22:26, 30 August 2008 (UTC)
This prints "Hello World!". Note that whitespace characters have been given differently coloured backgrounds since, in practice, they are invisible. (Space, Tab)
empty-line empty-line empty-line empty-line empty-line empty-line empty-line/EOF
A lot better. if this could be implemented, that would be great. Also, sorry for being awol so long for a reply. Centrisian (talk) 03:21, 2 March 2009 (UTC)
Whitespace should be white: that's surely the whole point. Showing it in pink and lilac is cheating. Mhkay (talk) 15:04, 2 March 2012 (UTC)
I've added in markers to separate the characters, in the hope of improving clarity - I'm not sure whether it's actually turned out better or not; if people disagree then please do give reasons and revert. --82.70.156.254 (talk) 01:08, 21 October 2009 (UTC)
SS STSSTSSSL TLSS ;push +1001000 (72 in decimal) onto the stack and output the top-of-stack as a character ('H') SS STTSSTSTL TLSS ;push +1100101 (101 in decimal) onto the stack and output the top-of-stack as a character ('e') SS STTSTTSSL TLSS ;etc. SS STTSTTSSL TLSS SS STTSTTTTL TLSS SS STSTTSSL TLSS SS STSSSSSL TLSS SS STTTSTTTL TLSS SS STTSTTTTL TLSS SS STTTSSTSL TLSS SS STTSTTSSL TLSS SS STTSSTSSL TLSS SS STSSSSTL TLSS ;push +100001 (33 in decimal) onto the stack and output the top-of-stack as a character ('!') LLL ;end the program
This is an incorrect statement, although it may have been correct when it was added.
What is the process for removing it? —Preceding unsigned comment added by 65.166.54.44 (talk) 16:57, 7 April 2010 (UTC)
I copy/pasted the code to ideone.com. Some characters not visible in the code were printed there, but since they're supposed to be ignored, I let them there. The interpreter threw out this error: "Fail: user error (Can't do Dup)". — Preceding unsigned comment added by 189.77.168.10 (talk) 13:45, 15 September 2011 (UTC)
Is there a point to this language or is it just sort of a clever trick/joke? — Preceding unsigned comment added by 108.221.57.236 (talk) 17:56, 11 November 2012 (UTC)
Hello fellow Wikipedians,
I have just modified 3 external links on Whitespace (programming language). Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:
When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.
This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}}
(last update: 5 June 2024).
Cheers.—InternetArchiveBot (Report bug) 05:30, 9 December 2017 (UTC)
The whole point of the language is what it looks like. There are many depictions of it in this article, but with a fundamental difference that undermines the entire language: highlighting. There needs to be an example of a program written in this language without any highlight, ideally at the top of the page. 82.19.244.65 (talk) 16:53, 5 October 2019 (UTC)
Wouldn't the syntax table look better with appropriate rowspan–s in the first column?
IMP | Command | Parameter | Meaning |
---|---|---|---|
[Space] | [Space] | Number | Push the number onto the stack |
[LF][Space] | - | Duplicate the top item on the stack | |
[Tab][Space] | Number | Copy the nth item on the stack (given by the argument) onto the top of the stack | |
[LF][Tab] | - | Swap the top two items on the stack | |
[LF][LF] | - | Discard the top item on the stack | |
[Tab][LF] | Number | Slide n items off the stack, keeping the top item | |
[Tab][Space] | [Space][Space] | - | Addition |
[Space][Tab] | - | Subtraction | |
[Space][LF] | - | Multiplication | |
[Tab][Space] | - | Integer Division | |
[Tab][Tab] | - | Modulo | |
[Tab][Tab] | [Space] | - | Store in heap |
[Tab] | - | Retrieve from heap | |
[LF] | [Space][Space] | Label | Mark a location in the program |
[Space][Tab] | Label | Call a subroutine | |
[Space][LF] | Label | Jump to a label | |
[Tab][Space] | Label | Jump to a label if the top of the stack is zero | |
[Tab][Tab] | Label | Jump to a label if the top of the stack is negative | |
[Tab][LF] | - | End a subroutine and transfer control back to the caller | |
[LF][LF] | - | End the program | |
[Tab][LF] | [Space][Space] | - | Output the character at the top of the stack |
[Space][Tab] | - | Output the number at the top of the stack | |
[Tab][Space] | - | Read a character and place it in the location given by the top of the stack | |
[Tab][Tab] | - | Read a number and place it in the location given by the top of the stack |
--CiaPan (talk) 10:05, 15 November 2022 (UTC)
Maybe someone can cojoin BF and WS and make it mostly use \r so that it makes 99% of modern editors and textboxes impossible to even display them. 103.232.162.6 (talk) 09:44, 3 March 2025 (UTC)