Skip to content
/ wsf Public

An esoteric programming language based on whitespace

Notifications You must be signed in to change notification settings

anna328p/wsf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wsf

This is a BF derivative that uses whitespace.

Syntax

All sequences of whitespace are interpreted as trits (ternary digits) with all other characters ignored/removed. The translation table is below:

WHITESPACE 	= " \t\n"
TRINARY		  = "012"	

Then, the translated code is padded with 2s to an even length, chunked into sections of 2, and interpreted as BF code by the following table:

"00" 	=> "+",
"01" 	=> "-",
"02" 	=> ">",
"10" 	=> "<",
"11" 	=> ".",
"12" 	=> ",",
"20" 	=> "[",
"21" 	=> "]",	
"22" 	=> "G"

Uses a semi-custom BF interpreter in which cells can have infinite values, and there are 1048576 cells.

About

An esoteric programming language based on whitespace

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages