https://github.com/me4502/wutlang
Wutlang - An esoteric programming language based heavily of Brainf*ck.
https://github.com/me4502/wutlang
brainf character cursor esoteric-programming-language heap heap-cell heap-point interpreter java language stack
Last synced: 2 months ago
JSON representation
Wutlang - An esoteric programming language based heavily of Brainf*ck.
- Host: GitHub
- URL: https://github.com/me4502/wutlang
- Owner: me4502
- License: mit
- Created: 2016-10-31T04:06:29.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-02-05T14:17:13.000Z (over 3 years ago)
- Last Synced: 2025-03-29T08:51:12.771Z (3 months ago)
- Topics: brainf, character, cursor, esoteric-programming-language, heap, heap-cell, heap-point, interpreter, java, language, stack
- Language: Java
- Size: 69.3 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wutlang
Wutlang - An esoteric programming language based heavily of Brainf*ck.**Wutlang version 1.0**
Wutlang is an esoteric programming language,
with capabilities for netIO and fileIO.This is heavily inspired by Brainf*ck.
Basic Functions
* '<' - 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.
Stack Functions
* '^' - Push current input to stack.
* 'V' - Drop current input from stack to heap.
Network Functions
* '$' - 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.
File Functions
* '&' - Open file connections. Filename is characters until 0.
* 'o' - Set file as output.
* 'i' - Set file as input. Appends.
* 'p' - Clears file.
* 'e' - Closes file streams.
Standard IO Functions* 'c' - Set console as output.
* 'r' - Set console as input.
Miscellaneous
* '#' - Comment character. This line is a comment. Supports inline comments.
* ':' - Dump heap.