Onk

From Esolang
Jump to navigation Jump to search

Onk is a programming language that has this operation, (a, b) -> (b, r(a)), where r(abc) -> cba, so a turns into b, and b turns into reversed a

Program

A 123 #A is 123
B 321 #B is 321
A B #A is 321, B is 321