New page wikitext, after the edit (new_wikitext) | '👀 is an interpreted [[Esoteric programming language|esoteric programming language]] made by [[User:Kloodi|Kloodi]].<br>It is based on using emojis similar to calling functions in a normal programming language.
== Values ==
You can use the following structures to represent values.
{| class="wikitable"
!Structure
!Value
|-
|<code>"string"</code>
|A string with the value of <code>string</code>.
|-
|<code>number</code>
|A number with the value of <code>number</code>.
|}
== Emojis ==
You can use the following emojis to do specific actions.
{| class="wikitable"
!Emoji
!Action
|-
|<code>👀/value\</code>
|Print <code>string</code>.
|-
|<code>❓</code>
|Ask the user for input, And return the string.
|-
|<code>🔀/string\</code>
|Reverse <code>string</code> and return it.
|-
|<code>📩/name\/value\</code>
|Store <code>value</code> to the variable called <code>name</code>
|-
|<code>📨/name\</code>
|Get the value in the variable called <code>name</code> and return it.
|-
|<code>➕/left\/right\</code>
|Return the sum of <code>left</code> and <code>right</code>.
|-
|<code>➖/left\/right\</code>
|Return the difference of <code>left</code> and <code>right</code>.
|-
|<code>✖/left\/right\</code>
|Return the product of <code>left</code> and <code>right</code>.
|-
|<code>➗/left\/right\</code>
|Return the quotient of <code>left</code> and <code>right</code>.
|}
== Special Commands ==
These are commands that don't follow the same structure as the emojis.
{| class="wikitable"
!Command
!Action
|-
|<code>{code}expr</code>
|Loop <code>code</code> while <code>expr</code> is greater than 0.
|}
== Examples ==
=== [[Hello, World!]] ===
This example prints the phrase <code>"Hello, World!"</code>.
<pre>
👀/"Hello, World!"\
</pre>
=== [[Cat Program]] ===
This example prints the same string that the user inputs.
<pre>
👀/❓\
</pre>
=== [[Truth Machine]] ===
This example prints 0 once if the input is 0,<br>
And 1 forever if the input is 1.
<pre>
📩/"input"\/❓\{👀/1\}📨/"input"\👀/0\
</pre>
== Interpreter ==
If 👀 appears as ?? in your terminal, Don't worry.
It still represents 👀.
[https://www.mediafire.com/file/3mqc1e8hwofmukv/%25F0%259F%2591%2580.py/file Download Python Interpreter]
[[Category:Languages]]' |
Lines added in edit (added_lines) | [
0 => '👀 is an interpreted [[Esoteric programming language|esoteric programming language]] made by [[User:Kloodi|Kloodi]].<br>It is based on using emojis similar to calling functions in a normal programming language.',
1 => '',
2 => '== Values ==',
3 => 'You can use the following structures to represent values.',
4 => '{| class="wikitable"',
5 => '!Structure',
6 => '!Value',
7 => '|-',
8 => '|<code>"string"</code>',
9 => '|A string with the value of <code>string</code>.',
10 => '|-',
11 => '|<code>number</code>',
12 => '|A number with the value of <code>number</code>.',
13 => '|}',
14 => '',
15 => '== Emojis ==',
16 => 'You can use the following emojis to do specific actions.',
17 => '{| class="wikitable"',
18 => '!Emoji',
19 => '!Action',
20 => '|-',
21 => '|<code>👀/value\</code>',
22 => '|Print <code>string</code>.',
23 => '|-',
24 => '|<code>❓</code>',
25 => '|Ask the user for input, And return the string.',
26 => '|-',
27 => '|<code>🔀/string\</code>',
28 => '|Reverse <code>string</code> and return it.',
29 => '|-',
30 => '|<code>📩/name\/value\</code>',
31 => '|Store <code>value</code> to the variable called <code>name</code>',
32 => '|-',
33 => '|<code>📨/name\</code>',
34 => '|Get the value in the variable called <code>name</code> and return it.',
35 => '|-',
36 => '|<code>➕/left\/right\</code>',
37 => '|Return the sum of <code>left</code> and <code>right</code>.',
38 => '|-',
39 => '|<code>➖/left\/right\</code>',
40 => '|Return the difference of <code>left</code> and <code>right</code>.',
41 => '|-',
42 => '|<code>✖/left\/right\</code>',
43 => '|Return the product of <code>left</code> and <code>right</code>.',
44 => '|-',
45 => '|<code>➗/left\/right\</code>',
46 => '|Return the quotient of <code>left</code> and <code>right</code>.',
47 => '|}',
48 => '',
49 => '== Special Commands ==',
50 => 'These are commands that don't follow the same structure as the emojis.',
51 => '{| class="wikitable"',
52 => '!Command',
53 => '!Action',
54 => '|-',
55 => '|<code>{code}expr</code>',
56 => '|Loop <code>code</code> while <code>expr</code> is greater than 0.',
57 => '|}',
58 => '',
59 => '== Examples ==',
60 => '',
61 => '=== [[Hello, World!]] ===',
62 => 'This example prints the phrase <code>"Hello, World!"</code>.',
63 => '<pre>',
64 => '👀/"Hello, World!"\',
65 => '</pre>',
66 => '',
67 => '=== [[Cat Program]] ===',
68 => 'This example prints the same string that the user inputs.',
69 => '<pre>',
70 => '👀/❓\',
71 => '</pre>',
72 => '',
73 => '=== [[Truth Machine]] ===',
74 => 'This example prints 0 once if the input is 0,<br>',
75 => 'And 1 forever if the input is 1.',
76 => '<pre>',
77 => '📩/"input"\/❓\{👀/1\}📨/"input"\👀/0\',
78 => '</pre>',
79 => '',
80 => '== Interpreter ==',
81 => 'If 👀 appears as ?? in your terminal, Don't worry.',
82 => 'It still represents 👀.',
83 => '',
84 => '[https://www.mediafire.com/file/3mqc1e8hwofmukv/%25F0%259F%2591%2580.py/file Download Python Interpreter]',
85 => '',
86 => '[[Category:Languages]]'
] |