Examine individual changes

Abuse Filter navigation (Home | Recent filter changes | Examine past edits | Abuse log)
Jump to navigation Jump to search

This page allows you to examine the variables generated by the Abuse Filter for an individual change.

Variables generated for this change

VariableValue
Edit count of the user (user_editcount)
0
Name of the user account (user_name)
'GNUian Linuxist Party'
Age of the user account (user_age)
17263
Page ID (page_id)
0
Page namespace (page_namespace)
0
Page title (without namespace) (page_title)
'JSON.lang'
Full page title (page_prefixedtitle)
'JSON.lang'
Action (action)
'edit'
Edit summary/reason (summary)
'JSON.lang'
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)
'{{infobox programming language | name = JSON.lang | author = [[User:GNUian Linuxist Party]] | year = 2025 | paradigm = Imperative, Structured, Function-oriented | influenced_by = [[Python]], [[Lisp]], [[BASIC]], [[Thue]] | influenced = }} '''JSON.lang''' is an esoteric programming language created by [[User:GNUian Linuxist Party]] in 2025. It is designed around a JSON-based instruction set, with **functions, variable scopes, and expression evaluation**. == Syntax == JSON.lang programs are written as lists of tuples, where the first element in the instruction tuple is the instruction and the rest are arguments. The language has a **global scope** and **nested local scopes** for variables/functions. Basic instructions: * `var name value` – define or assign a variable. * `func name [params] [body]` – define a function with parameters and body. * `return value` – return a value from a function. * `if (condition) [then_body] [else_body]` – conditional execution. * `while (condition) [body]` – loop while condition is true. * `for var_name iterable [body]` – iterate over items. * `print *values` – output values. * Expressions: `+`, `-`, `*`, `/`, `%`, `==`, `!=`, `<`, `>`, `<=`, `>=`, `and`, `or`, `not`, maybe more? --- == Examples == Hello world (printing a value): <syntaxhighlight lang="JSONdotLang"> [ ("print", "Hello World!") ] </syntaxhighlight> Function definition and call: <syntaxhighlight lang="JSONdotLang"> ( ("func", "add", ["a", "b"], [ ("return", ("+", "$a", "$b") ]), ("print", ("add", 5, 7)) ) </syntaxhighlight> Variable assignment: <syntaxhighlight lang="JSONdotLang"> [ ("var", "x", 42), ("print", "$x") ] </syntaxhighlight> Conditional: <syntaxhighlight lang="JSONdotLang"> [ ("var", "x", 10), ("if", ("==", "$x", 10), [ ("print", "x is ten") ], [ ("print", "x is not ten") ]) ] </syntaxhighlight> Looping: <syntaxhighlight lang="JSONdotLang"> [ ("var", "i", 0), ("while", ("<", "$i", 5), [ ("print", "$i"), ("var", "i", ("+", "$i", 1)) ]) ] </syntaxhighlight> ...more things will be implemented soon, like user input, datatypes like Dicts/sets and lists, and file management. --- == Interpreters == Well, this Language still unstable, but the official interpreter coded in Python <sadly :)> You can find the official interpreter in the GitHub repo down in "External links" section --- == See also == * [[List of programming languages]] * [[Python]] * [[Lisp]] * [[BASIC]] * [[Thue]] --- == External links == * [https://github.com/Salah2PLS/JSONdotLang]'
Unified diff of changes made by edit (edit_diff)
'@@ -1,0 +1,97 @@ +{{infobox programming language +| name = JSON.lang +| author = [[User:GNUian Linuxist Party]] +| year = 2025 +| paradigm = Imperative, Structured, Function-oriented +| influenced_by = [[Python]], [[Lisp]], [[BASIC]], [[Thue]] +| influenced = +}} + +'''JSON.lang''' is an esoteric programming language created by [[User:GNUian Linuxist Party]] in 2025. +It is designed around a JSON-based instruction set, with **functions, variable scopes, and expression evaluation**. + +== Syntax == +JSON.lang programs are written as lists of tuples, where the first element in the instruction tuple is the instruction and the rest are arguments. +The language has a **global scope** and **nested local scopes** for variables/functions. + +Basic instructions: + +* `var name value` – define or assign a variable. +* `func name [params] [body]` – define a function with parameters and body. +* `return value` – return a value from a function. +* `if (condition) [then_body] [else_body]` – conditional execution. +* `while (condition) [body]` – loop while condition is true. +* `for var_name iterable [body]` – iterate over items. +* `print *values` – output values. +* Expressions: `+`, `-`, `*`, `/`, `%`, `==`, `!=`, `<`, `>`, `<=`, `>=`, `and`, `or`, `not`, maybe more? + +--- + +== Examples == + +Hello world (printing a value): +<syntaxhighlight lang="JSONdotLang"> +[ + ("print", "Hello World!") +] +</syntaxhighlight> + +Function definition and call: +<syntaxhighlight lang="JSONdotLang"> +( + ("func", "add", ["a", "b"], [ + ("return", ("+", "$a", "$b") + ]), + ("print", ("add", 5, 7)) +) +</syntaxhighlight> + +Variable assignment: +<syntaxhighlight lang="JSONdotLang"> +[ + ("var", "x", 42), + ("print", "$x") +] +</syntaxhighlight> + +Conditional: +<syntaxhighlight lang="JSONdotLang"> +[ + ("var", "x", 10), + ("if", ("==", "$x", 10), [ + ("print", "x is ten") + ], [ + ("print", "x is not ten") + ]) +] +</syntaxhighlight> + +Looping: +<syntaxhighlight lang="JSONdotLang"> +[ + ("var", "i", 0), + ("while", ("<", "$i", 5), [ + ("print", "$i"), + ("var", "i", ("+", "$i", 1)) + ]) +] +</syntaxhighlight> + + +...more things will be implemented soon, like user input, datatypes like Dicts/sets and lists, and file management. +--- +== Interpreters == +Well, this Language still unstable, but the official interpreter coded in Python <sadly :)> +You can find the official interpreter in the GitHub repo down in "External links" section +--- +== See also == +* [[List of programming languages]] +* [[Python]] +* [[Lisp]] +* [[BASIC]] +* [[Thue]] + +--- + +== External links == +* [https://github.com/Salah2PLS/JSONdotLang] '
New page size (new_size)
2584
Old page size (old_size)
0
Lines added in edit (added_lines)
[ 0 => '{{infobox programming language', 1 => '| name = JSON.lang', 2 => '| author = [[User:GNUian Linuxist Party]]', 3 => '| year = 2025', 4 => '| paradigm = Imperative, Structured, Function-oriented', 5 => '| influenced_by = [[Python]], [[Lisp]], [[BASIC]], [[Thue]]', 6 => '| influenced = ', 7 => '}}', 8 => '', 9 => ''''JSON.lang''' is an esoteric programming language created by [[User:GNUian Linuxist Party]] in 2025. ', 10 => 'It is designed around a JSON-based instruction set, with **functions, variable scopes, and expression evaluation**.', 11 => '', 12 => '== Syntax ==', 13 => 'JSON.lang programs are written as lists of tuples, where the first element in the instruction tuple is the instruction and the rest are arguments. ', 14 => 'The language has a **global scope** and **nested local scopes** for variables/functions. ', 15 => '', 16 => 'Basic instructions:', 17 => '', 18 => '* `var name value` – define or assign a variable. ', 19 => '* `func name [params] [body]` – define a function with parameters and body. ', 20 => '* `return value` – return a value from a function. ', 21 => '* `if (condition) [then_body] [else_body]` – conditional execution. ', 22 => '* `while (condition) [body]` – loop while condition is true. ', 23 => '* `for var_name iterable [body]` – iterate over items. ', 24 => '* `print *values` – output values. ', 25 => '* Expressions: `+`, `-`, `*`, `/`, `%`, `==`, `!=`, `<`, `>`, `<=`, `>=`, `and`, `or`, `not`, maybe more?', 26 => '', 27 => '---', 28 => '', 29 => '== Examples ==', 30 => '', 31 => 'Hello world (printing a value):', 32 => '<syntaxhighlight lang="JSONdotLang">', 33 => '[', 34 => ' ("print", "Hello World!")', 35 => ']', 36 => '</syntaxhighlight>', 37 => '', 38 => 'Function definition and call:', 39 => '<syntaxhighlight lang="JSONdotLang">', 40 => '(', 41 => ' ("func", "add", ["a", "b"], [', 42 => ' ("return", ("+", "$a", "$b")', 43 => ' ]),', 44 => ' ("print", ("add", 5, 7))', 45 => ')', 46 => '</syntaxhighlight>', 47 => '', 48 => 'Variable assignment:', 49 => '<syntaxhighlight lang="JSONdotLang">', 50 => '[', 51 => ' ("var", "x", 42),', 52 => ' ("print", "$x")', 53 => ']', 54 => '</syntaxhighlight>', 55 => '', 56 => 'Conditional:', 57 => '<syntaxhighlight lang="JSONdotLang">', 58 => '[', 59 => ' ("var", "x", 10),', 60 => ' ("if", ("==", "$x", 10), [', 61 => ' ("print", "x is ten")', 62 => ' ], [', 63 => ' ("print", "x is not ten")', 64 => ' ])', 65 => ']', 66 => '</syntaxhighlight>', 67 => '', 68 => 'Looping:', 69 => '<syntaxhighlight lang="JSONdotLang">', 70 => '[', 71 => ' ("var", "i", 0),', 72 => ' ("while", ("<", "$i", 5), [', 73 => ' ("print", "$i"),', 74 => ' ("var", "i", ("+", "$i", 1))', 75 => ' ])', 76 => ']', 77 => '</syntaxhighlight>', 78 => '', 79 => '', 80 => '...more things will be implemented soon, like user input, datatypes like Dicts/sets and lists, and file management.', 81 => '---', 82 => '== Interpreters ==', 83 => 'Well, this Language still unstable, but the official interpreter coded in Python <sadly :)>', 84 => 'You can find the official interpreter in the GitHub repo down in "External links" section', 85 => '---', 86 => '== See also ==', 87 => '* [[List of programming languages]]', 88 => '* [[Python]]', 89 => '* [[Lisp]]', 90 => '* [[BASIC]]', 91 => '* [[Thue]]', 92 => '', 93 => '---', 94 => '', 95 => '== External links ==', 96 => '* [https://github.com/Salah2PLS/JSONdotLang]' ]
Unix timestamp of change (timestamp)
'1762713269'