Skip to content

A Whitespace interpreter. Written in Python.

License

Notifications You must be signed in to change notification settings

Bornlex/Whitespace-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WhiteSpace Interpreter

A whitespace programming language interpreter

The following program executes .ws (WhiteSpace) files.

About

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:

Installation

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.

Usage example

To execute a .ws file:

./main.py file_to_execute.ws

Development setup

To add some functionalities to the program and to check that everything is working properly, just run:

make test

All tests should pass.

Release History

  • 0.0.1
    • First release

Meta

Do not hesitate to contact me for any information or feedback:

jseveno.piltant@gmail.com

Distributed under the MIT license. See LICENSE for more information.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request