Simple interpreter for my esolang, SCREAMCODE.
- Python 3.8
To use, just run screamterpreter.py
or screamterpreter.py [file to load]
in the project directory. Is using files as an arg, it must be passed as a relative path.
Pre-written files must be stored in a folder named 'screams', in the same directory as the main .py file. File names are case-sensitive. I've included a 'Hello World' program to help you get a feel for how programs are written.
Instructions can be seperated by a space or newline, but it's not required.
Command | Description |
---|---|
AAAH | Move the pointer to the right |
AAAAGH | Move the pointer to the left |
FUCK | Increment the memory cell at the pointer |
SHIT | Decrement the memory cell at the pointer |
!!!!!! | Output the character signified by the cell at the pointer |
WHAT?! | Input a character and store it in the cell at the pointer |
OW | Jump past the matching OWIE if the cell at the pointer is 0 |
OWIE | Jump back to the matching OW if the cell at the pointer is nonzero |
- Python IDLE-like UI (except terminal-based, because I still need to learn forms.)
Feel free to contribute, as long as you follow GitFlow conventions.