Stringy

From Esolang
Jump to navigation Jump to search

Stringy is a language by User:Esolangist that was inspired by Thue

Commands-ish

This section is still a work in progress. It may be changed in the future.

a=b makes a new string replacement: a is now b

a=$OUT outputs a when it appears

a=$IN a will be replaced with user input

a=$OUT?b outputs b when a appears

a=$IN?b a will be replaced with user input called b

a≈b a SUPER REPLACEMENT. applies to all strings including a in it

;a:b:code; while a = b, run code


Examples

Hello world

Hello, world!=$OUT
Hello, world!

Cat

🐱=$IN?🐈
🐈=$OUT
🐱

Truth machine?

hi=$IN?x
;x:0:x=$OUT?0;
;x:1:x=1;
1=11
hi