Awesome
Whitespace exotic programming language interpreter
About this repository
This repo contains my implementation of Whitespace interpreter for CodeWars.com Kata. Kata's path: https://www.codewars.com/kata/52dc4688eca89d0f820004c6
About Whitespace
Whitespace is an esoteric programming language that uses only three characters:
- [space] or " " (ASCII 32)
- [tab] or "\t" (ASCII 9)
- [line-feed] or "\n" (ASCII 10)
All other characters may be used for comments. The interpreter ignores them.
Whitespace is an imperative, stack-based programming language, including features such as subroutines.
Each command in whitespace begins with an Instruction Modification Parameter (IMP).
Implemented IMPs:
- IMP [space] - Stack Manipulation
- IMP [tab][space] - Arithmetic
- IMP [tab][tab] - Heap Access
- IMP [tab][line-feed] - Input/Output
- IMP [line-feed] - Flow Control