PISW
Jump to navigation
Jump to search
PISW(Paradigm Is String-Rewriting) is an extremely simplified esolang by User:A.
Syntax
It has 2 parts:
Fun Str
The Box Fun
This is the function defenition. Like:
x + y = x- + y+
It changes something like:
2 + 3
into
s(2 + 3)
. The x and ys are the values for the function. It will be checked one by one.
Addition & Subtraction
add + on the back to increment 1. add - on the back to decrement 1.
Last steps
The string on str will be printed.
Example
Addition:
Fun: x + y = x- + y+ 0 + x = x Str: 2 + 1002
Hello, world
Fun: Str: Hello, world
Truth-machine
Fun: 1 = 11 0 = 0 Str: This can be one or zero, anything the user likes.
CAT program
Fun: Str: Any input the user liked.