Page namespace (page_namespace) | 0 |
Page title (without namespace) (page_title) | 'O(א₀)' |
Full page title (page_prefixedtitle) | 'O(א₀)' |
Old content model (old_content_model) | 'wikitext' |
New content model (new_content_model) | 'wikitext' |
Old page wikitext, before the edit (old_wikitext) | 'O(א₀) (pronounced O of alpeh null) is a esolang based on [[User:Yayimhere]]'s discord username: (stack)[X, I, X, A]->[I] OR A=X which is incomplete as it is: (stack)[X, I, X, A]->(stack)[I] OR: {A=X->(stack)[A, I, A, A]}¡{? A=X -> A & X !(A & X) OR X->A}. any user can add a section with their commands and stuff. it has to be computable no running other esolangs and such. go to [[∫∫∫∫∫∫∫∫∫∫∫∫∫]] to add non commands and to see rules
== syntax ==
all the syntax of O(א₀) put into sections
=== state ===
all state commands or basically commands that do stuff but no IO or something
====<code><nowiki>-> and <-</nowiki></code>====
these simply changes state to the next state of the stack. so for example lets say we popped X from the stack then basically you can write a -> and it returns the stack without X:
(stack)[X, I, X, C]
then your program encounters pop command and then a ->:
(stack)[X, I, X, C]-> / ->(stack)[I, X, C]
the <- is just go back to the start
====<code>/ and !</code>====
/ changes the state of the stack by popping its off the stack. and ! just makes a thing dissaper. this only works for making a function rule. in the example for arrows the <code>/</code> command is used. using !:
F(stack)[X, I]->!(stack)[I]->(stack)[X]
now F pops the last value on the stack
====<code>\ and ?</code>====
\ is push a value. so for example:
(stack)[X]->\(I)->(stack)[X, I]
and ? is make thing appear so:
F(stack)[X, I]->?(stack)[Y]->(stack)[X, I, Y]
more can be added
=== other commands ===
commands
{| class="wikitable"
|+ Caption text
|-
! Command !! What it do !! Origin
|-
| H || print "Hello, World!" || [[HQ+]]
|-
| Q || Quine || [[HQ+]]
|-
| + || Increment the accumulator || [[HQ+]]
|-
| o || Output the accumulator || [[deadfish]]
|-
| * || solve the halting problem for a finite-state automaton || Original
|-
| █ || print only <code>█</code>s and <code>\x20</code>s || [[∫∫∫∫∫∫∫∫∫∫∫∫∫#:|∫∫∫∫∫∫∫∫∫∫∫∫∫]]
|-
| @ || end || [[Befunge]]
|-
| ` || print next character (and skip it) || Original
|-
| ~ || acc=~acc || [[-25 bytes (O o)]]
|-
| ² || square accumulator || [[5]]
|-
| CƆ || repeat code until acc = 0 || Original
|-
| Ⅹ || print newline || Original
|-
| r || reverse execution || Original
|-
| ; || skip next command || [[5]]
|-
| i || input number from user || [[Fish|<><]]
|-
| B || [[99 bottles of beer|x bottles of beer]] || Original
|-
| #* *# || Comments || Original
|-
| ️ || fizzbuzz || Original
|-
| א₀ || acc = Infinity || Original
|}
== Examples ==
=== [[Hello, World!]] ===
H
or
`H`e`l`l`o`,` `W`o`r`l`d`!
=== [[Quine]] ===
Q
or
█
=== [[XKCD Random Number]] ===
++++o
or
`4
=== ASCII Art of "Hi" ===
<pre>
█@ █ ███ █
█ █ █ █
███ █ █
█ █ █
█ █ ███ █
</pre>
=== [[99 bottles of beer]] ===
<pre>
+++²+²~++~
C+
o` `b`o`t`t`l`e`s` `o`f` `b`e`e`r` `o`n` `t`h`e` `w`a`l`lⅩ
o` `b`o`t`t`l`e`s` `o`f` `b`e`e`rⅩ
`T`a`k`e` `o`n`e` `d`o`w`n`,` `p`a`s`s` `i`t` `a`r`o`u`n`dⅩ~+~
o` `b`o`t`t`l`e`s` `o`f` `b`e`e`r` `o`n` `t`h`e` `w`a`l`lⅩⅩ~+~Ɔ
`0` `b`o`t`t`l`e`s` `o`f` `b`e`e`r` `o`n` `t`h`e` `w`a`l`lⅩ
`0` `b`o`t`t`l`e`s` `o`f` `b`e`e`r`
`G`o` `t`o` `t`h`e` `s`t`o`r`e`,` `b`u`y` `s`o`m`e` `m`o`r`eⅩ
`9`9` `b`o`t`t`l`e`s` `o`f` `b`e`e`r` `o`n` `t`h`e` `w`a`l`lⅩ
</pre>
or
+++²+²~+~B
=== [[Infinite Loop]] ===
;rr
or
+CƆ
=== [[Truth-machine]] ===
iCoƆo
=== [[FizzBuzz]] ===
+++²+²️
Infinite:
א₀️
[[Category:User Edited]] [[Category:Languages]] [[Category:Stack-based]] [[Category:2024]]' |
New page wikitext, after the edit (new_wikitext) | 'O(א₀) (pronounced O of alpeh null) is a esolang based on [[User:Yayimhere]]'s discord username: (stack)[X, I, X, A]->[I] OR A=X which is incomplete as it is: (stack)[X, I, X, A]->(stack)[I] OR: {A=X->(stack)[A, I, A, A]}¡{? A=X -> A & X !(A & X) OR X->A}. any user can add a section with their commands and stuff. it has to be computable no running other esolangs and such. go to [[∫∫∫∫∫∫∫∫∫∫∫∫∫]] to add non commands and to see rules
== syntax ==
all the syntax of O(א₀) put into sections
=== state ===
all state commands or basically commands that do stuff but no IO or something
====<code><nowiki>-> and <-</nowiki></code>====
these simply changes state to the next state of the stack. so for example lets say we popped X from the stack then basically you can write a -> and it returns the stack without X:
(stack)[X, I, X, C]
then your program encounters pop command and then a ->:
(stack)[X, I, X, C]-> / ->(stack)[I, X, C]
the <- is just go back to the start
====<code>/ and !</code>====
/ changes the state of the stack by popping its off the stack. and ! just makes a thing dissaper. this only works for making a function rule. in the example for arrows the <code>/</code> command is used. using !:
F(stack)[X, I]->!(stack)[I]->(stack)[X]
now F pops the last value on the stack
====<code>\ and ?</code>====
\ is push a value. so for example:
(stack)[X]->\(I)->(stack)[X, I]
and ? is make thing appear so:
F(stack)[X, I]->?(stack)[Y]->(stack)[X, I, Y]
more can be added
=== other commands ===
commands
{| class="wikitable"
|+ Caption text
|-
! Command !! What it do !! Origin
|-
| H || print "Hello, World!" || [[HQ+]]
|-
| Q || Quine || [[HQ+]]
|-
| + || Increment the accumulator || [[HQ+]]
|-
| o || Output the accumulator || [[deadfish]]
|-
| * || solve the halting problem for a finite-state automaton || Original
|-
| █ || print only <code>█</code>s and <code>\x20</code>s || [[∫∫∫∫∫∫∫∫∫∫∫∫∫#:|∫∫∫∫∫∫∫∫∫∫∫∫∫]]
|-
| @ || end || [[Befunge]]
|-
| ` || print next character (and skip it) || Original
|-
| ~ || acc=~acc || [[-25 bytes (O o)]]
|-
| ² || square accumulator || [[5]]
|-
| CƆ || repeat code until acc = 0 || Original
|-
| Ⅹ || print newline || Original
|-
| r || reverse execution || Original
|-
| ; || skip next command || [[5]]
|-
| i || input number from user || [[Fish|<><]]
|-
| B || [[99 bottles of beer|x bottles of beer]] || Original
|-
| #* *# || Comments || Original
|-
| ️ || fizzbuzz || Original
|-
| א₀ || acc = Infinity || Original
|-
| a+ || Increments value A. || [[User:Ϫ|Ϫ]] ([[User talk:Ϫ|talk]]) 16:16, 22 November 2024 (UTC)
|-
| a- || Decrements value A. || [[User:Ϫ|Ϫ]] ([[User talk:Ϫ|talk]]) 16:16, 22 November 2024 (UTC)
|-
| ab* || Multiplies A and B. || [[User:Ϫ|Ϫ]] ([[User talk:Ϫ|talk]]) 16:16, 22 November 2024 (UTC)
|-
| ab+ || Multiplies A and B. || [[User:Ϫ|Ϫ]] ([[User talk:Ϫ|talk]]) 16:16, 22 November 2024 (UTC)
|-
| a∫ || Outputs A. || [[User:Ϫ|Ϫ]] ([[User talk:Ϫ|talk]]) 16:16, 22 November 2024 (UTC)
|}
== Examples ==
=== [[Hello, World!]] ===
H
or
`H`e`l`l`o`,` `W`o`r`l`d`!
=== [[Quine]] ===
Q
or
█
=== [[XKCD Random Number]] ===
++++o
or
`4
=== ASCII Art of "Hi" ===
<pre>
█@ █ ███ █
█ █ █ █
███ █ █
█ █ █
█ █ ███ █
</pre>
=== [[99 bottles of beer]] ===
<pre>
+++²+²~++~
C+
o` `b`o`t`t`l`e`s` `o`f` `b`e`e`r` `o`n` `t`h`e` `w`a`l`lⅩ
o` `b`o`t`t`l`e`s` `o`f` `b`e`e`rⅩ
`T`a`k`e` `o`n`e` `d`o`w`n`,` `p`a`s`s` `i`t` `a`r`o`u`n`dⅩ~+~
o` `b`o`t`t`l`e`s` `o`f` `b`e`e`r` `o`n` `t`h`e` `w`a`l`lⅩⅩ~+~Ɔ
`0` `b`o`t`t`l`e`s` `o`f` `b`e`e`r` `o`n` `t`h`e` `w`a`l`lⅩ
`0` `b`o`t`t`l`e`s` `o`f` `b`e`e`r`
`G`o` `t`o` `t`h`e` `s`t`o`r`e`,` `b`u`y` `s`o`m`e` `m`o`r`eⅩ
`9`9` `b`o`t`t`l`e`s` `o`f` `b`e`e`r` `o`n` `t`h`e` `w`a`l`lⅩ
</pre>
or
+++²+²~+~B
=== [[Infinite Loop]] ===
;rr
or
+CƆ
=== [[Truth-machine]] ===
iCoƆo
=== [[FizzBuzz]] ===
+++²+²️
Infinite:
א₀️
[[Category:User Edited]] [[Category:Languages]] [[Category:Stack-based]] [[Category:2024]]' |
Unified diff of changes made by edit (edit_diff) | '@@ -66,4 +66,14 @@
|-
| א₀ || acc = Infinity || Original
+|-
+| a+ || Increments value A. || [[User:Ϫ|Ϫ]] ([[User talk:Ϫ|talk]]) 16:16, 22 November 2024 (UTC)
+|-
+| a- || Decrements value A. || [[User:Ϫ|Ϫ]] ([[User talk:Ϫ|talk]]) 16:16, 22 November 2024 (UTC)
+|-
+| ab* || Multiplies A and B. || [[User:Ϫ|Ϫ]] ([[User talk:Ϫ|talk]]) 16:16, 22 November 2024 (UTC)
+|-
+| ab+ || Multiplies A and B. || [[User:Ϫ|Ϫ]] ([[User talk:Ϫ|talk]]) 16:16, 22 November 2024 (UTC)
+|-
+| a∫ || Outputs A. || [[User:Ϫ|Ϫ]] ([[User talk:Ϫ|talk]]) 16:16, 22 November 2024 (UTC)
|}
' |
Lines added in edit (added_lines) | [
0 => '|-',
1 => '| a+ || Increments value A. || [[User:Ϫ|Ϫ]] ([[User talk:Ϫ|talk]]) 16:16, 22 November 2024 (UTC)',
2 => '|-',
3 => '| a- || Decrements value A. || [[User:Ϫ|Ϫ]] ([[User talk:Ϫ|talk]]) 16:16, 22 November 2024 (UTC)',
4 => '|-',
5 => '| ab* || Multiplies A and B. || [[User:Ϫ|Ϫ]] ([[User talk:Ϫ|talk]]) 16:16, 22 November 2024 (UTC)',
6 => '|-',
7 => '| ab+ || Multiplies A and B. || [[User:Ϫ|Ϫ]] ([[User talk:Ϫ|talk]]) 16:16, 22 November 2024 (UTC)',
8 => '|-',
9 => '| a∫ || Outputs A. || [[User:Ϫ|Ϫ]] ([[User talk:Ϫ|talk]]) 16:16, 22 November 2024 (UTC)'
] |