We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
ASCIIgibberish
Jump to navigation
Jump to search
ASCIIgibberish is an esoteric programming language by User:Cordership that uses ASCII characters, except the operations can’t have letters except in the inputs.
Syntax
| Operation | Meaning |
|---|---|
| /++-~/\~-++\ a = n | Sets value of variable a to a specific number n |
| /a+b\ | Adds two numbers, a and b |
| /a-b\ | Subtracts b from a |
| /a*b\ | Multiplies two numbers, a and b |
| /a/b\ | Divides a by b |
| /a_-b\ | Outputs mod(a,b) |
| /a^b\ | Exponentiation |
| /\##{(Hello, world!)} | Prints “Hello, world!”. The “Hello, World!” text can be changed to any text. |
| ()$ | Cat program |
| [/[]][-+-(What is an esolang?) | Asks “What is an esolang?”. The question can be changed at will. |
| /\/ ++~(x) = /x+1\ | Defines a function. In this case, f(x)=x+1. |
| //(n, #)\\ | Prints n hashtags in a row. The hashtag can be changed to any text. |
| //\/**$ /\{[n]} | Loop n times. |
| //\/**$ /\{*a = b*} | Loop until given condition is met. In this case, the condition is that a=b. |
| -/-\- | End program. |
| [/./\] | New line of printed text (must be in a print operation) |
| [/\]([desired condition]) yes: no: | If desired condition is met, continue the code in the “yes” section. Otherwise, continue the code in the “no” section. |
| [/\]([desired condition]) | If desired condition is met, continue the code. |
Examples
Truth machine:
[/[]][-+-(Input?)
/++-~/\~-++\ a = ans
[/\]([a = 0])
-> /\##{(0)}
-> -/-\-
[/\]([a = 1])
-> //\/**$ /\{[/1/0\]}:
-> -> /\##{(1)}