What???

From Esolang
Jump to navigation Jump to search

You know you like put random punctuation sometimes like "What?!?!?.!??!?..!??.!?!?..!?.?!?...!?.?", well this is based on it

Structure

The words before the punctuation determines the type of code

What - a program that uses ASCII
Why - a program that uses numbers [default]
How - a program that loops around, the symbols can also do that
Where - a program that prints its code

The punctuation

? - set the next symbol to the previous symbol, example !?. would turn into !?!, I am not interpreting the ! or . in this example
! - set the next symbol to the number of !s in front of this,
and also skip the next !s, example !!!! would turn into !3!!
. - print the next symbol and send this symbol one before where it is,
example would be !.. which would print ., but turn into .!., I am not interpreting the ! in this example
, - set the previous symbol to the next symbol, example .,! would turn into !,!, I am not interpreting the ! in this example
( - enter a group, example is in the next one
) - exit a group and run it twice, example (.) would print ) then do nothing because the . escaped the (), and it would turn into .() after that
& - input one symbol, example & could turn into any symbol
` - does nothing, example ` turns into `
- - prints the previous symbol, example `- prints ` and turns into `-

Cat

How&.

Print t

What?`-