How to understand 'Whitespace Programming Language' ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to understand 'Whitespace Programming Language' ?

Whitespace programming Language contains only spaces and use of only certain keywords like backspace, delete & space. So my question is how one can read when you can't see anything (as per I know spaces cannot be seen in computer). Please help me to understand. Thank you!!!

2nd Sep 2018, 12:19 AM
Manu Pandey
Manu Pandey - avatar
1 Answer
+ 6
There are some programs that help you read whitespace code by marking the syntax accordingly using colors. That way, you can see what is going on. Here is a program I found : http://vii5ard.github.io/whitespace/ Other programs precede every space with an S, tab with a T, and a line feed with L. This works because the first thing whitespace compilers must do is ignore all non whitespace characters. Here is some info on whitespace and how to use it : https://hackage.haskell.org/package/whitespace-0.4/src/docs/tutorial.html
2nd Sep 2018, 2:16 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar