Page namespace (page_namespace) | 0 |
Page title (without namespace) (page_title) | 'C**' |
Full page title (page_prefixedtitle) | 'C**' |
Old content model (old_content_model) | '' |
New content model (new_content_model) | 'wikitext' |
Old page wikitext, before the edit (old_wikitext) | '' |
New page wikitext, after the edit (new_wikitext) | 'C** (pronounced see times times) is a programming language that [[User:BestCoder|I]] made, and is compiled to windows x64:
== Main Constructs ==
=== If ===
if x > 4 then
printc 'H';
printc 'i';
end;
=== While ===
while x > 4 then
print x;
x = x + -1;
end;
=== Repeat (directive) ===
list = 0;
repeat 9 define
:= 0;
end;
== Assign (directive) ==
const x = 5;
print x;
=== Anonymous assignment ===
string = 'H';
:= 'i';
:= '!';
:= 0;
=== Adding and Multiplying (no subtraction or division) ===
a = 5;
b = 6;
c = a + b;
d = a * b;
=== Negatives ===
a = -5;
=== Print and Printc ===
print 65;
printc 'A';
=== Comments ===
you cant make comments
=== > and == (no < or >= or <=) ===
a = 5;
b = 6;
c = a == b;
d = a > b;
=== Input ===
none so far
=== Pointers ===
x = 5;
y = 6;
z = &x;
print *z;
z = z -> 1;
print *z;
it should say 56, yes print doesnt have a newline
== Compiler ==
i will post it later' |
Lines added in edit (added_lines) | [
0 => 'C** (pronounced see times times) is a programming language that [[User:BestCoder|I]] made, and is compiled to windows x64:',
1 => '== Main Constructs ==',
2 => '=== If ===',
3 => ' if x > 4 then',
4 => ' printc 'H';',
5 => ' printc 'i';',
6 => ' end;',
7 => '=== While ===',
8 => ' while x > 4 then',
9 => ' print x;',
10 => ' x = x + -1;',
11 => ' end;',
12 => '=== Repeat (directive) ===',
13 => ' list = 0;',
14 => ' repeat 9 define',
15 => ' := 0;',
16 => ' end;',
17 => '== Assign (directive) ==',
18 => ' const x = 5;',
19 => ' print x;',
20 => '=== Anonymous assignment ===',
21 => ' string = 'H';',
22 => ' := 'i';',
23 => ' := '!';',
24 => ' := 0;',
25 => '=== Adding and Multiplying (no subtraction or division) ===',
26 => ' a = 5;',
27 => ' b = 6;',
28 => ' c = a + b;',
29 => ' d = a * b;',
30 => '=== Negatives ===',
31 => ' a = -5;',
32 => '=== Print and Printc ===',
33 => ' print 65;',
34 => ' printc 'A';',
35 => '=== Comments ===',
36 => ' you cant make comments',
37 => '=== > and == (no < or >= or <=) ===',
38 => ' a = 5;',
39 => ' b = 6;',
40 => ' c = a == b;',
41 => ' d = a > b;',
42 => '=== Input ===',
43 => ' none so far',
44 => '=== Pointers ===',
45 => ' x = 5;',
46 => ' y = 6;',
47 => ' z = &x;',
48 => ' print *z;',
49 => ' z = z -> 1;',
50 => ' print *z;',
51 => 'it should say 56, yes print doesnt have a newline',
52 => '== Compiler ==',
53 => ' i will post it later'
] |