Details:
Version: 1.4
Last Updated On: 20/09/24 (dd/mm/yy)
Written By: XFydro
Written In: Python
Type: High-Level Language
reg data_type var_name var_value
Maximum var_name length: 4
Available Data Types: str
, lst
, int
Examples:
reg int aaaa 10
, reg int abcd 1234
, reg str fbgd "Hello World"
, reg str gdfb "xyz123"
reg cls [var_name]
Maximum var_name length: 4
Examples:
reg cls
, reg cls var6
, reg cls abcd
, reg cls f142
prt value
Maximum value length: Undefined
Examples:
prt "Hello World"
, prt aaaa
, prt var1
, prt var9
etr data_type
Available Data Types: var
, lst
Examples:
etr lst
, etr var
add var1 value
Available var type: int
Available value type: int
Examples:
add abcd 400
, add var1 1234
mul var1 value
Available var type: int
Available value type: int
Examples:
mul abcd 2
, mul var1 5
div var1 value
Available var type: int
Available value type: int
Examples:
div abcd 40
, div var1 2
sub var1 value
Available var type: int
Available value type: int
Examples:
sub abcd 20
, sub var1 45
mod var1 value
Available var type: int
Available value type: int
Examples:
mod abcd 20
, mod var1 45
inp var_name "prompt_message"
Maximum var_name length: 4
Available Data Types: str
, int
Examples:
inp name "Enter your name:"
, inp age "Enter your age:"
if condition
Available Operators: ==
, >
, <
, >=
, <=
, !=
Examples:
if aaaa == 10
, if var1 > 100
else
Example:
else
end
Example:
end
fetch "api_url"
Parameters:
api_url
: The URL from which to fetch data.Examples:
fetch "https://api.example.com/data"
, fetch "https://x3documentation.neocities.org/api"
exit
Example:
exit
The reason to use X³ as a language is a bit unconventional because we don’t actually know its purpose! It’s just a language made for a fun school project.
That’s because I (the developer) was too lazy to do all the work of adding more parameters :P
That’s because I currently have a lot of free time since my exams are over, so I can update it 24/7! :>
Because that would require a lot of hard work, and since this language was made as a project, I’m not trying to code a complex system. A guide will be published on this website soon so anyone can learn the basics properly without struggling to learn it from reverse-engineering.
Anyone can access the code, change it, or even re-publish it with modifications. The reason I made it open-source is that everyone should have the right to learn from the code and build upon it.
Uhhh, I am the only one who developed this language. :)
Don’t ask. ;-;