https://github.com/tollyh/whitespace
A Python implementation of the whitespace esoteric programming language
https://github.com/tollyh/whitespace
esoteric esoteric-language interpreter python python3 whitespace whitespace-interpreter whitespace-language
Last synced: 2 months ago
JSON representation
A Python implementation of the whitespace esoteric programming language
- Host: GitHub
- URL: https://github.com/tollyh/whitespace
- Owner: TollyH
- Created: 2022-09-11T15:28:11.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-01T01:42:03.000Z (about 2 years ago)
- Last Synced: 2025-06-06T06:41:03.742Z (about 1 year ago)
- Topics: esoteric, esoteric-language, interpreter, python, python3, whitespace, whitespace-interpreter, whitespace-language
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Whitespace
Whitespace is an esoteric programming language that uses only 3 characters: spaces, tabs, and line feeds.
This is an interpreter written entirely in Python.
More information can be found [here on Wikipedia](https://en.wikipedia.org/wiki/Whitespace_(programming_language))
## Notes
Unlike other implementations of Whitespace, this version takes all input at the beginning before execution starts.
Numerical input is terminated by newlines (`\n`), but single-character input is not terminated, as only one character can be read at a time anyway.
For example, if you wanted to input the five characters in `Hello`, then the whole number `123`, the input would be as follows:
`Hello123\n`