WASD
Jump to navigation
Jump to search
About
Current Version 1.1
WASD is a language inspired by brainfuck. It was designed to be programmed using only one hand, mainly the left hand (assuming a QWERTY keyboard.)
The file extension for all WASD files is .wasd
History
The original interpreter was created by Max00355 in 2012 in order to create a language that would be quick to program, and ultimately create a language that only required one hand to write (assuming a QWERTY keyboard.)
How To
WASD works the same way brainfuck works. A pointer is moved in an array of cells which are all set to 0. Each cell can be incremented or decremented by one, then output as an ASCII character.
Command | Description |
---|---|
d
|
Move the pointer to the right |
a
|
Move the pointer to the left |
w
|
Increment the cell the pointer is currently on by one |
s
|
Decrement the cell the pointer is currently on by one |
e
|
Output the data in the cell as an ASCII character |
q
|
Allow user input then assign the input to the cell |
1
|
If pointer is set to 0 loop starts |
2
|
End of loop |
(
|
Start a comment |
)
|
Close a comment |
Examples
Hello World
dwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwedwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwewwwwwwweewwwessssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssseawwwwwwwwwwwwwwwedwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwewwwessssssessssssssessssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssse
Comments Example
(this is a comment) 1dww(this is also a comment)wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwe2
Interpreters
Original interpreter by Max00355 in Python
Current Version 1.1