You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
alicestrt
35257c9db6
|
4 years ago | |
---|---|---|
dist | 4 years ago | |
.gitignore | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
input.txt | 4 years ago | |
overunder.py | 4 years ago | |
poetry.lock | 4 years ago | |
pyproject.toml | 4 years ago |
README.md
overunder
Overunder is an interpreted programming language in Python that receives as rules basic weaving instructions 'over' and 'under' and apply a pattern onto text, simulating a plain weave.
To start, add your text of choice in a file called input.txt
.
To run:
$ overunder
Commands:
load
- loads the input text. Should be the first command you type inside the interpreter.show
- shows which line you are currently working onover + int(x)
- keeps the corresponding x characters intactunder + int(x)
- replaces the corresponding x characters with a symbolpattern
- generates the pattern created so farsave
- saves the pattern in a text fileenter/return
- moves to the next line of textquit
- quits the program
See more here.