A whitespace programming language interpreter
The following program executes .ws (WhiteSpace) files.
Whitespace is an esoteric programming language that makes use of only 3 characters:
- whitespace (of course)
- tab
- line feed
It has been invented by Edwin Brady & Chris Morris and released on 1st April 2003.
This is not that easy to find documentation and resources about writing Whitespace, but here are some good ones:
OS X, Linux & Windows:
git clone https://github.com/Bornlex/WhitespaceCompiler.git
The Python version I used to implement and run it is 3.5. It is possible that it won't work with verions under 3 because of the importing system, but I did not test it.
To execute a .ws file:
./main.py file_to_execute.ws
To add some functionalities to the program and to check that everything is working properly, just run:
make test
All tests should pass.
- 0.0.1
- First release
Do not hesitate to contact me for any information or feedback:
Distributed under the MIT license. See LICENSE
for more information.
- Fork it
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request