Page namespace (page_namespace) | 0 |
Page title (without namespace) (page_title) | 'SLet' |
Full page title (page_prefixedtitle) | 'SLet' |
Old content model (old_content_model) | 'wikitext' |
New content model (new_content_model) | 'wikitext' |
Old page wikitext, before the edit (old_wikitext) | '<b>[[SLet (Old 2)|<- Older version]] | Newest version</b>
SLet 1 has no clear type, SLet 2 has limited commands, so the author created SLet 3!<br>
{{WIP}}' |
New page wikitext, after the edit (new_wikitext) | '<b>[[SLet (Old 2)|<- Older version]] | Newest version</b>
{{infobox proglang
|name=SLet
|author=[[:User:ZCX islptng|ZCX islptng]]
|year=[[:Category:2025|2025]]
|influence=Lua
|class=[[:Category:Turing complete|Turing-complete]]
|refimpl=none
|files=<code>.slet</code>
}}
<br><br>
SLet 1 has no clear type, SLet 2 has limited commands, so the author created SLet 3!<br>
{{WIP}}
==Data types==
In this esolang, there is 5 data types.
Number: Fraction. Size is unlimited.
Boolean: true or false.
Pair: A pair of objects. One former value and one latter value.
Lambda: Just a lambda function.
Set: The most common data type. Objects in a set is always sorted. Boolean < Number < Pair < Set < Lambda.
==Commands==
<pre><nowiki>
==== Flow Control
for | For every object in set A, store it in variable named B, and execute lambda C.
while | While boolean A is True, execute lambda B.
do | Start define a lambda. End with "all".
call | Executes lambda A.
==== Input/Output
get-char | Get a character input.
put-char | Print a character.
input | Get a number input.
output | Print an object.
==== Data structures
match | Make a pair. Returns (A,B).
combine | Makes a set with various objects by union. End with "all".
opposite | Not boolean A. Negate number A. Swap two objects of pair A.
former | Former object of pair A. Numerator of number A.
latter | Latter object of pait A. Denominator of number B.
pack | Pack object A into a set.
exist | True if object A exists in/equals to/is a subset of object B.
</nowiki></pre>' |
Unified diff of changes made by edit (edit_diff) | '@@ -1,5 +1,49 @@
<b>[[SLet (Old 2)|<- Older version]] | Newest version</b>
+{{infobox proglang
+|name=SLet
+|author=[[:User:ZCX islptng|ZCX islptng]]
+|year=[[:Category:2025|2025]]
+|influence=Lua
+|class=[[:Category:Turing complete|Turing-complete]]
+|refimpl=none
+|files=<code>.slet</code>
+}}
+
+<br><br>
SLet 1 has no clear type, SLet 2 has limited commands, so the author created SLet 3!<br>
{{WIP}}
+
+==Data types==
+In this esolang, there is 5 data types.
+ Number: Fraction. Size is unlimited.
+ Boolean: true or false.
+ Pair: A pair of objects. One former value and one latter value.
+ Lambda: Just a lambda function.
+ Set: The most common data type. Objects in a set is always sorted. Boolean < Number < Pair < Set < Lambda.
+
+==Commands==
+<pre><nowiki>
+==== Flow Control
+for | For every object in set A, store it in variable named B, and execute lambda C.
+while | While boolean A is True, execute lambda B.
+do | Start define a lambda. End with "all".
+call | Executes lambda A.
+
+==== Input/Output
+get-char | Get a character input.
+put-char | Print a character.
+input | Get a number input.
+output | Print an object.
+
+==== Data structures
+match | Make a pair. Returns (A,B).
+combine | Makes a set with various objects by union. End with "all".
+opposite | Not boolean A. Negate number A. Swap two objects of pair A.
+former | Former object of pair A. Numerator of number A.
+latter | Latter object of pait A. Denominator of number B.
+pack | Pack object A into a set.
+exist | True if object A exists in/equals to/is a subset of object B.
+
+</nowiki></pre>
' |
Lines added in edit (added_lines) | [
0 => '{{infobox proglang',
1 => '|name=SLet',
2 => '|author=[[:User:ZCX islptng|ZCX islptng]]',
3 => '|year=[[:Category:2025|2025]]',
4 => '|influence=Lua',
5 => '|class=[[:Category:Turing complete|Turing-complete]]',
6 => '|refimpl=none',
7 => '|files=<code>.slet</code>',
8 => '}}',
9 => '',
10 => '<br><br>',
11 => '',
12 => '==Data types==',
13 => 'In this esolang, there is 5 data types.',
14 => ' Number: Fraction. Size is unlimited.',
15 => ' Boolean: true or false.',
16 => ' Pair: A pair of objects. One former value and one latter value.',
17 => ' Lambda: Just a lambda function.',
18 => ' Set: The most common data type. Objects in a set is always sorted. Boolean < Number < Pair < Set < Lambda.',
19 => '',
20 => '==Commands==',
21 => '<pre><nowiki>',
22 => '==== Flow Control',
23 => 'for | For every object in set A, store it in variable named B, and execute lambda C.',
24 => 'while | While boolean A is True, execute lambda B.',
25 => 'do | Start define a lambda. End with "all".',
26 => 'call | Executes lambda A.',
27 => '',
28 => '==== Input/Output',
29 => 'get-char | Get a character input.',
30 => 'put-char | Print a character.',
31 => 'input | Get a number input.',
32 => 'output | Print an object.',
33 => '',
34 => '==== Data structures',
35 => 'match | Make a pair. Returns (A,B).',
36 => 'combine | Makes a set with various objects by union. End with "all".',
37 => 'opposite | Not boolean A. Negate number A. Swap two objects of pair A.',
38 => 'former | Former object of pair A. Numerator of number A.',
39 => 'latter | Latter object of pait A. Denominator of number B.',
40 => 'pack | Pack object A into a set.',
41 => 'exist | True if object A exists in/equals to/is a subset of object B.',
42 => '',
43 => '</nowiki></pre>'
] |