~Ω₁
Jump to navigation
Jump to search
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
- This is still a work in progress. It may be changed in the future.
~Ω₁ is an esolang by User:Europe2048 with uncountable data types.
(note: this will probably become a golfing language)
SBCS
- 0123456789abcdef 0 1 2 !"#$%&'()*+,-./ 3 0123456789:;<=>? 4 @ABCDEFGHIJKLMNO 5 PQRSTUVWXYZ[\]^_ 6 `abcdefghijklmno 7 pqrstuvwxyz{|}~ 8 ¡¢£¤¥×¦§¨©ª«¬®¯΅ 9 °±²³´÷¶·€¹º»¼½¾¿ A ΓΔΘΛΞΠΣΦΨΩ B αβγδεζηθικλμνξπ C ρστυφχψω D E F
Types
There are three main types in ~Ω₁: number, character, and list. Strings are just lists of characters.
Operations can be pervasive, meaning they apply to every element in an list.
However, there is one extra type: uncountables. An uncountable can be made by using Ω
. You cannot measure the length of an uncountable data type.
3NΞ # 1 3NΩΞ # Ω!
Glyphs
Functions go after modifiers.
Command | Uiua-style signature | Action |
---|---|---|
|
|0.0 | Does... NOTHING!!! |
! |
|1 | Factorial |
" |
? | Open/close string |
# |
? | Comment |
* |
|2 | Exponentiation |
+ |
|2 | Addition |
, |
|2 | List separator/Concatenate |
- |
|2 | Subtraction |
. |
|1.2 | Duplicate |
/ |
modifier | Reduce |
0-9 |
|0 | Push the corresponding number |
: |
|2.2 | Flip |
< |
|0 | Less than |
= |
|0 | Equals |
> |
|0 | Greater than |
@ |
? | Character |
N |
|1 | 0-inclusive range |
[ |
? | Open list |
\ |
modifier | Scan |
] |
? | Close list |
h |
|1 | Head/First |
i |
|0 | Get user input |
o |
|1.0 | Output without newline |
r |
|1 | Reverse |
t |
|1 | Tail/Last |
~ |
|1.0 | Pop |
× |
|2 | Multiplication |
÷ |
|2 | Division |
¶ |
|1.0 | Output with newline |
Ξ |
|1 | Length |
Ω |
|1 | Make uncountable |
Errors
In ~Ω₁, error messages are short and sweet. Their syntax is: G!
, where G
is the glyph where the error happened.
Examples
Hello, World!
"Hello, World!"¶
Error quine
Ω!
Of course, that's not the only one.
Cat program
i¶