Skip to content

FY0u11/whitespace-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  1. [space] or " " (ASCII 32)
  2. [tab] or "\t" (ASCII 9)
  3. [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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published