alicestrt
4 years ago
2 changed files with 18 additions and 9 deletions
@ -1,14 +1,23 @@ |
|||||
# overunder |
# 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: |
Commands: |
||||
|
|
||||
- load - loads the input text |
- `load` - loads the input text. Should be the first command you type inside the interpreter. |
||||
- show - shows which line you are currently working on |
- `show` - shows which line you are currently working on |
||||
- over + int(x) - keeps the corresponding x characters intact |
- `over + int(x)` - keeps the corresponding x characters intact |
||||
- under + int(x) - replaces the corresponding x characters with a symbol |
- `under + int(x)` - replaces the corresponding x characters with a symbol |
||||
- pattern - generates the pattern created so far |
- `pattern` - generates the pattern created so far |
||||
- save - saves the pattern in a text file |
- `save` - saves the pattern in a text file |
||||
- enter/return - moves to the next line of text |
- `enter/return` - moves to the next line of text |
||||
- quit - quits the program |
- `quit` - quits the program |
||||
|
|
||||
See more [here](https://pzwiki.wdka.nl/mediadesign/User:Alice/Special_Issue_V). |
See more [here](https://pzwiki.wdka.nl/mediadesign/User:Alice/Special_Issue_V). |
||||
|
Loading…
Reference in new issue