Old page wikitext, before the edit (old_wikitext) | 'Introduce yourself is a pseudonatural esolang created by [[User:None1]].
==Memory Model==
Introduce yourself is based on variables that can store unbounded unsigned integers.
==Commands==
There are these commands in Introduce yourself.
{|class="wikitable"
! Command !! Meaning
|-
| <code>Hi, I am ''X'', I am ''Y'' years old.</code> || Creates a variable named ''X'' with a value of ''Y'', this command must be runexactly ''once'' for every variable.
|-
| <code>How old are you, ''X''?</code> || Outputs the value of the variable named ''X'', do nothing if it doesn't exist.
|-
| <code>How old are you in character, ''X''?</code> || Outputs the value of the variable named ''X'' modulo 256 as ASCII, do nothing if it doesn't exist.
|-
| <code>The age of ''X'' is now a secret.</code> || Reads an unsigned integer from user input and store it to the variable named ''X'', EOF returns 0, do nothing if it doesn't exist.
|-
| <code>The age of ''X'' is now a secret in character.</code> || Reads a character from user input and store its ASCII value to the variable named ''X'', EOF returns 0, do nothing if it doesn't exist.
|-
| <code>''X'': ''Y'' years later...</code> || Increases the variable named ''X'' by ''Y'' (an integer).
|-
| <code>''X'': ''Y'' years ago...</code> || Decreases the variable named ''X'' by ''Y'', if the result is less than zero, then ignore this command (an integer).
|-
| <code>Are you ''Y'' years old, ''X''?</code> || If the value of ''X'' isn't ''Y'', skip next instruction (if there is no next instruction, then terminate the program).
|-
| <code>Pardon me, please say line ''X'' again.</code> || Jump to line ''X'' (the first line is line 1). If the line number doesn't exist, then terminate the program
|}
Variable names can have be any character except whitespaces.
Invalid commands raise a syntax error:
Syntax error
==Examples==
===[[Hello World]]===
<pre>
Hi, I am PzaV, I am 72 years old.
How old are you in character, PzaV?
Hi, I am DmFm, I am 101 years old.
How old are you in character, DmFm?
Hi, I am IlUu, I am 108 years old.
How old are you in character, IlUu?
Hi, I am ZSRN, I am 108 years old.
How old are you in character, ZSRN?
Hi, I am xL+0, I am 111 years old.
How old are you in character, xL+0?
Hi, I am R38C, I am 32 years old.
How old are you in character, R38C?
Hi, I am NJHl, I am 87 years old.
How old are you in character, NJHl?
Hi, I am Lukk, I am 111 years old.
How old are you in character, Lukk?
Hi, I am qfZl, I am 114 years old.
How old are you in character, qfZl?
Hi, I am sr/4, I am 108 years old.
How old are you in character, sr/4?
Hi, I am cmnk, I am 100 years old.
How old are you in character, cmnk?
</pre>
===[[Cat Program]]===
This program never terminates
<pre>
Hi, I am a, I am 0 years old.
The age of a is now a secret in character.
How old are you in character, a?
Pardon me, please say line 2 again.
</pre>
Here is an alternative that terminates when EOF:
<pre>
Hi, I am a, I am 0 years old.
The age of a is now a secret in character.
How old are you in character, a?
Are you 0 years old, a?
Pardon me, please say line 7 again.
Pardon me, please say line 2 again.
</pre>
===[[Truth Machine]]===
<pre>
Hi, I am a, I am 0 years old.
The age of a is now a secret.
How old are you, a?
Are you 1 years old, a?
Pardon me, please say line 3 again.
</pre>
===[[Quine]]===
Syntax error
==Computational class==
As shown in the article [[brainfuck]], when the tape is at least 3 cells long, and the cells can store integers of any size, [[brainfuck]] is Turing complete.
As the integers in this esolang are unbounded, we can simply simulate [[brainfuck]] in this esolang.
The following is the unfinished table of translation from [[brainfuck]].
{| class="wikitable"
! Introduce yourself !! [[brainfuck]]
|-
| <pre>Hi, I am p, I am 0 years old.
Hi, I am a, I am 0 years old.
Hi, I am b, I am 0 years old.
Hi, I am c, I am 0 years old.</pre> || (begin)
|-
| <pre>Are you 0 years old, p?
a: 1 years later...
Are you 1 years old, p?
b: 1 years later...
Are you 2 years old, p?
c: 1 years later...</pre> || +
|-
| <pre>Are you 0 years old, p?
a: 1 years ago...
Are you 1 years old, p?
b: 1 years ago...
Are you 2 years old, p?
c: 1 years ago...</pre> || -
|-
| <pre>Are you 0 years old, p?
The age of a is now a secret in character.
Are you 1 years old, p?
The age of b is now a secret in character.
Are you 2 years old, p?
The age of c is now a secret in character.</pre> || ,
|-
| <pre>Are you 0 years old, p?
How old are you in character, a?
Are you 1 years old, p?
How old are you in character, b?
Are you 2 years old, p?
How old are you in character, c?</pre> || .
|-
| <pre>p: 1 years later...</pre> || >
|-
| <pre>p: 1 years ago...</pre> || <
|-
| Example || [
|-
| Example || ]
|}
Although the table is unfinished, this esolang is still Turing complete
[[Category:Languages]]
[[Category:Pseudonatural]]
[[Category:Unimplemented]]
[[Category:Turing complete]]
[[Category:2023]]' |
New page wikitext, after the edit (new_wikitext) | 'Introduce yourself is a pseudonatural esolang created by [[User:None1]].
==Memory Model=
Introduce yourself is based on variables that can store unbounded unsigned integers.
==Commands==
There are these commands in Introduce yourself.
{|class="wikitable"
! Command !! Meaning
|-
| <code>Hi, I am ''X'', I am ''Y'' years old.</code> || Creates a variable named ''X'' with a value of ''Y'', this command must be runexactly ''once'' for every variable.
|-
| <code>How old are you, ''X''?</code> || Outputs the value of the variable named ''X'', do nothing if it doesn't exist.
|-
| <code>How old are you in character, ''X''?</code> || Outputs the value of the variable named ''X'' modulo 256 as ASCII, do nothing if it doesn't exist.
|-
| <code>The age of ''X'' is now a secret.</code> || Reads an unsigned integer from user input and store it to the variable named ''X'', EOF returns 0, do nothing if it doesn't exist.
|-
| <code>The age of ''X'' is now a secret in character.</code> || Reads a character from user input and store its ASCII value to the variable named ''X'', EOF returns 0, do nothing if it doesn't exist.
|-
| <code>''X'': ''Y'' years later...</code> || Increases the variable named ''X'' by ''Y'' (an integer).
|-
| <code>''X'': ''Y'' years ago...</code> || Decreases the variable named ''X'' by ''Y'', if the result is less than zero, then ignore this command (an integer).
|-
| <code>Are you ''Y'' years old, ''X''?</code> || If the value of ''X'' isn't ''Y'', skip next instruction (if there is no next instruction, then terminate the program).
|-
| <code>Pardon me, please say line ''X'' again.</code> || Jump to line ''X'' (the first line is line 1). If the line number doesn't exist, then terminate the program
|}
Variable names can have be any character except whitespaces.
Invalid commands raise a syntax error:
Syntax error
==Examples==
===[[Hello World]]===
<pre>
Hi, I am PzaV, I am 72 years old.
How old are you in character, PzaV?
Hi, I am DmFm, I am 101 years old.
How old are you in character, DmFm?
Hi, I am IlUu, I am 108 years old.
How old are you in character, IlUu?
Hi, I am ZSRN, I am 108 years old.
How old are you in character, ZSRN?
Hi, I am xL+0, I am 111 years old.
How old are you in character, xL+0?
Hi, I am R38C, I am 32 years old.
How old are you in character, R38C?
Hi, I am NJHl, I am 87 years old.
How old are you in character, NJHl?
Hi, I am Lukk, I am 111 years old.
How old are you in character, Lukk?
Hi, I am qfZl, I am 114 years old.
How old are you in character, qfZl?
Hi, I am sr/4, I am 108 years old.
How old are you in character, sr/4?
Hi, I am cmnk, I am 100 years old.
How old are you in character, cmnk?
</pre>
===[[Cat Program]]===
This program never terminates
<pre>
Hi, I am a, I am 0 years old.
The age of a is now a secret in character.
How old are you in character, a?
Pardon me, please say line 2 again.
</pre>
Here is an alternative that terminates when EOF:
<pre>
Hi, I am a, I am 0 years old.
The age of a is now a secret in character.
How old are you in character, a?
Are you 0 years old, a?
Pardon me, please say line 7 again.
Pardon me, please say line 2 again.
</pre>
===[[Truth Machine]]===
<pre>
Hi, I am a, I am 0 years old.
The age of a is now a secret.
How old are you, a?
Are you 1 years old, a?
Pardon me, please say line 3 again.
</pre>
===[[Quine]]===
Syntax error
==Computational class==
As shown in the article [[brainfuck]], when the tape is at least 3 cells long, and the cells can store integers of any size, [[brainfuck]] is Turing complete.
As the integers in this esolang are unbounded, we can simply simulate [[brainfuck]] in this esolang.
The following is the unfinished table of translation from [[brainfuck]].
{| class="wikitable"
! Introduce yourself !! [[brainfuck]]
|-
| <pre>Hi, I am p, I am 0 years old.
Hi, I am a, I am 0 years old.
Hi, I am b, I am 0 years old.
Hi, I am c, I am 0 years old.</pre> || (begin)
|-
| <pre>Are you 0 years old, p?
a: 1 years later...
Are you 1 years old, p?
b: 1 years later...
Are you 2 years old, p?
c: 1 years later...</pre> || +
|-
| <pre>Are you 0 years old, p?
a: 1 years ago...
Are you 1 years old, p?
b: 1 years ago...
Are you 2 years old, p?
c: 1 years ago...</pre> || -
|-
| <pre>Are you 0 years old, p?
The age of a is now a secret in character.
Are you 1 years old, p?
The age of b is now a secret in character.
Are you 2 years old, p?
The age of c is now a secret in character.</pre> || ,
|-
| <pre>Are you 0 years old, p?
How old are you in character, a?
Are you 1 years old, p?
How old are you in character, b?
Are you 2 years old, p?
How old are you in character, c?</pre> || .
|-
| <pre>p: 1 years later...</pre> || >
|-
| <pre>p: 1 years ago...</pre> || <
|-
| Example || [
|-
| Example || ]
|}
Although the table is unfinished, this esolang is still Turing complete
[[Category:Languages]]
[[Category:Pseudonatural]]
[[Category:Unimplemented]]
[[Category:Turing complete]]
[[Category:2023]]' |