Skip to content

h-bag/screamterpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screamterpreter

Simple interpreter for my esolang, SCREAMCODE.

Requirements

  • 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.

Instruction Set

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

Planned Features

  • Python IDLE-like UI (except terminal-based, because I still need to learn forms.)

Contribution

Feel free to contribute, as long as you follow GitFlow conventions.

About

Simple interpreter for my esolang, Screamcode

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages