Examine individual changes
This page allows you to examine the variables generated by the Abuse Filter for an individual change.
Variables generated for this change
| Variable | Value |
|---|---|
Edit count of the user (user_editcount) | 0 |
Name of the user account (user_name) | 'Epzen' |
Age of the user account (user_age) | 68 |
Page ID (page_id) | 18002 |
Page namespace (page_namespace) | 0 |
Page title (without namespace) (page_title) | 'GangLang' |
Full page title (page_prefixedtitle) | 'GangLang' |
Action (action) | 'edit' |
Edit summary/reason (summary) | '' |
Old content model (old_content_model) | 'wikitext' |
New content model (new_content_model) | 'wikitext' |
Old page wikitext, before the edit (old_wikitext) | ''''GangLang''' is an [[esoteric programming language]] by Wonkanese. It is a simple programming language in which the keywords are gang terms or gang related.
==Language overview==
An implementation of GangLang is available [https://github.com/h-webster/GangLang here].
GangLang is an esoteric programming language with a unique twist. In this language, all keywords are related to gang culture and are presented in uppercase letters. It's a simple language that allows you to create variables, perform operations, and control program flow using gang-related keywords. The GangLang compiler is implemented in JavaScript.
==Instructions==
Below is a detailed explanation of GangLang's syntax and how to use it:
===Comments and Ignoring Lines===
Any line that starts with a <code>$</code> at the beginning will be ignored. This is a way to add comments to your GangLang code.
Leaving an empty line will also be ignored.
For example: This GangLang program does nothing.
<pre>
$This program does nothing
$YAY!!!
</pre>
===Variable Declaration===
Use the keyword <code>YO GOT GLOCK</code> followed by a variable name and an integer value to create an integer variable.
For example: This program creates a variable called myVar with the value 42
<pre>
YO GOT GLOCK myVar 42
</pre>
===Output===
To print a message or the value of a variable, use the keyword <code>YO RAP</code> followed by the message. If you want to include variables in the message, prefix the variable name with a <code>$</code>.
For example: This program prints Hello, and with the value of myVar which is 10 so it would would "Hello, 10"
<pre>
YO GOT GLOCK myVar 10
YO RAP Hello, $myVar
</pre>
===Loops===
To create loops, use the keyword <code>YO SPIN DA BLOCK</code> followed by the amount of times to loop and for how many lines. You can include variable names instead of integers for the two parameters.
For example: This program prints "HELLO" 5 times and then prints "DONE".
<pre>
YO SPIN DA BLOCK 5 1
YO RAP HELLO
YO RAP DONE
</pre>
===Variable Operations===
You can perform various operations on variables:
<code>YO BIG</code> increases a variable by a specified amount:
<pre>
YO BIG myVar 10
</pre>
<code>YO SPRAY</code> multiplies a variable by a specified amount:
<pre>
YO SPRAY myVar 2
</pre>
<code>YO LIL</code> subtracts a variable by a specified amount:
<pre>
YO LIL myVar 5
</pre>
<code>YO BANG</code> sets a variable to a specified value:
<pre>
YO BANG myVar 42
</pre>
<code>YO SMOKE</code> sets a variable to the square root of the specified value:
<pre>
$myVar will be set to 3
YO SMOKE myVar 9
YO SMOKE myVar2 10
$myVar2 will be set to 3 (rounding)
</pre>
===Conditional Statements===
In GangLang you can create conditional statements by using this syntax:
<code>YO IS IT x y THEN z</code> checks if two values (x and y) are equal and if so, runs the next z lines
For example: This program will check if var1 is equal to var2. If so, then it will print "both equal" and "hello gangbanger" then "done". Although in this case, they are not equal so it just prints "done".
<pre>
YO GOT GLOCK var1 2
YO GOT GLOCK var2 2
YO IS IT var1 var2 THEN 2
YO RAP both equal
YO RAP hello gangbanger
YO RAP done
</pre>
<code>YO IS BIG</code> checks if x is greater then y. If so, runs the next z lines:
<pre>
YO IS BIG 3 2 THEN 1
YO RAP 3 is bigger then 2
</pre>
<code>YO IS LIL</code> checks if x is less then y. If so, runs the next z lines:
<pre>
YO IS LIL 3 2 THEN 1
YO RAP 3 is less then 2
YO RAP 3 might be less then 2?
</pre>
This should give you a solid understanding of how to use GangLang and its gang-themed syntax. Have fun experimenting with this unique esolang!
=== See also ===
* [[Satans Disciples GangLang $]]
[[Category:Joke languages]] [[Category:Implemented]] [[Category:Thematic]] [[Category:Pseudonatural]]
[[Category:2023]]' |
New page wikitext, after the edit (new_wikitext) | ''''GangLang''' is an [[esoteric programming language]] by Wonkanese. It is a simple programming language in which the keywords are gang terms or gang related.
==Language overview==
An implementation of GangLang is available [https://github.com/h-webster/GangLang here].
GangLang is an esoteric programming language with a unique twist. In this language, all keywords are related to gang culture and are presented in uppercase letters. It's a simple language that allows you to create variables, perform operations, and control program flow using gang-related keywords. The GangLang compiler is implemented in JavaScript.
==Instructions==
Below is a detailed explanation of GangLang's syntax and how to use it:
===Comments and Ignoring Lines===
Any line that starts with a <code>$</code> at the beginning will be ignored. This is a way to add comments to your GangLang code.
Leaving an empty line will also be ignored.
For example: This GangLang program does nothing.
<pre>
$This program does nothing
$YAY!!!
</pre>
===Variable Declaration===
Use the keyword <code>YO GOT GLOCK</code> followed by a variable name and an integer value to create an integer variable.
For example: This program creates a variable called myVar with the value 42
<pre>
YO GOT GLOCK myVar 42
</pre>
===Output===
To print a message or the value of a variable, use the keyword <code>YO RAP</code> followed by the message. If you want to include variables in the message, prefix the variable name with a <code>$</code>.
For example: This program prints Hello, and with the value of myVar which is 10 so it would would "Hello, 10"
<pre>
YO GOT GLOCK myVar 10
YO RAP Hello, $myVar
</pre>
===Loops===
To create loops, use the keyword <code>YO SPIN DA BLOCK</code> followed by the amount of times to loop and for how many lines. You can include variable names instead of integers for the two parameters.
For example: This program prints "HELLO" 5 times and then prints "DONE".
<pre>
YO SPIN DA BLOCK 5 1
YO RAP HELLO
YO RAP DONE
</pre>
===Variable Operations===
You can perform various operations on variables:
<code>YO BIG</code> increases a variable by a specified amount:
<pre>
YO BIG myVar 10
</pre>
<code>YO SPRAY</code> multiplies a variable by a specified amount:
<pre>
YO SPRAY myVar 2
</pre>
<code>YO LIL</code> subtracts a variable by a specified amount:
<pre>
YO LIL myVar 5
</pre>
<code>YO BANG</code> sets a variable to a specified value:
<pre>
YO BANG myVar 42
</pre>
<code>YO SMOKE</code> sets a variable to the square root of the specified value:
<pre>
$myVar will be set to 3
YO SMOKE myVar 9
YO SMOKE myVar2 10
$myVar2 will be set to 3 (rounding)
</pre>
===Conditional Statements===
In GangLang you can create conditional statements by using this syntax:
<code>YO IS IT x y THEN z</code> checks if two values (x and y) are equal and if so, runs the next z lines
For example: This program will check if var1 is equal to var2. If so, then it will print "both equal" and "hello gangbanger" then "done". Although in this case, they are not equal so it just prints "done".
<pre>
YO GOT GLOCK var1 2
YO GOT GLOCK var2 2
YO IS IT var1 var2 THEN 2
YO RAP both equal
YO RAP hello gangbanger
YO RAP done
</pre>
<code>YO IS BIG</code> checks if x is greater then y. If so, runs the next z lines:
<pre>
YO IS BIG 3 2 THEN 1
YO RAP 3 is bigger then 2
</pre>
<code>YO IS LIL</code> checks if x is less then y. If so, runs the next z lines:
<pre>
YO IS LIL 3 2 THEN 1
YO RAP 3 is less then 2
YO RAP 3 might be less then 2?
</pre>
This should give you a solid understanding of how to use GangLang and its gang-themed syntax. Have fun experimenting with this unique esolang!
=== See also ===
* [[Satans Disciples GangLang $]]
[[Category:Joke languages]] [[Category:Implemented]] [[Category:Thematic]] [[Category:Pseudonatural]]
[[Category:2023]]
I HATE JEWISH NIGGERS IM A NAZI' |
Unified diff of changes made by edit (edit_diff) | '@@ -124,2 +124,4 @@
[[Category:Joke languages]] [[Category:Implemented]] [[Category:Thematic]] [[Category:Pseudonatural]]
[[Category:2023]]
+
+I HATE JEWISH NIGGERS IM A NAZI
' |
New page size (new_size) | 3888 |
Old page size (old_size) | 3855 |
Lines added in edit (added_lines) | [
0 => '',
1 => 'I HATE JEWISH NIGGERS IM A NAZI'
] |
Unix timestamp of change (timestamp) | '1775678198' |