Wutlang
Jump to navigation
Jump to search
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
Wutlang, or Wut is an esoteric language inspired by Brainfuck, created by Madeline Miller (Me4502) in 2016. Whilst the syntax is similar, there are no guarantees that programs written in Brainfuck will run in Wutlang.
The biggest additions in Wutlang, are the inclusion of a Stack, and basic network and file IO.
Commands
The following commands exist in the Wutlang specification.
Command | Description |
---|---|
< | Takes the cursor back one spot. |
> | Takes the cursor forwards one spot. |
. | Output current heap cell to current output as character. Default output is console. |
, | Set current heap cell to current input. Default input is console. |
+ | Increases current heap point. |
- | Decreases current heap point. |
[ | Open loop. Skips past ']' if 0 at heap. |
] | Close loop. Returns to '[' when found. |
^ | Push current input to stack. |
V | Drop current input from stack to heap. |
$ | Open network connections on localhost at port specified as characters until 0. After the 0, the length should be specified as a raw number. Cursor will be on length afterwards. |
@ | Set network stream as input. |
! | Set network stream as output. |
% | Close network stream. |
~ | End server. |
& | Open file connections. Filename is characters until 0. Advances the cursor. |
o | Set file as output. |
i | Set file as input. |
p | Clears file. |
e | Closes file streams. |
c | Set console as output. |
r | Set console as input. |
# | Comment character. This line is a comment. Supports inline comments. |
: | Dump heap. |