word worm
Word Worm is an esoteric programming language designed by User:Yayimhere and User:ais523 and named by User:int-e based on the children's game word chain
types
there are two types:
- letters which are letters in the memory (a string)
- words are all groups of letters that are separated by spaces. each word must be a valid word in english
syntax
the first line is the string memory and then there are other lines:
〈AB〉₯x
(note that A
and B
must be single letters) this will replace the letter A
with B
in the string, unless one of the words that are being replaced in is equal to x
and the special one:
《A》₯x
which will replace A
with a space. if A
is '
it will be deleted(both with same condition)
「x」⇒「y」
what this command does is, if the last word of the string is x
then append y
to the end. and dis will just delete the first word:
⇘
and this will move it to the back
the program halts if one of the words in the string is not a word in english, or if no replacements apply, else it loops
word contractions will decontract(table:)
isn't → is not i'd → i had i'll → i will ain't → is not n' → and aren't → are not amn't → am not 'bout → about doin' → doing can't → cannot 'cause → because cuz → because c'mon → come on could've → could have couldn't → could not didn't → did not doesn't → does not
examples
hello world:
hello world
more interesting version:
hello 「hello」⇒「world」
hello 「hello」⇒「hello」 ⇘
[input] 「one」⇒「one」
replace [input]
with the input(as words)