Kirah++ is a unique, LGBTQ+ friendly programming language based on Python 3, designed to be expressive and inclusive. This manual provides an overview of the syntax and features of Kirah++, as well as instructions on how to write and compile Kirah++ code.
Every Kirah++ program must start with the following line:
hören sie mich aus
Define the execution context of the program with:
INT. COMPUTER
Every Kirah++ program must end with:
another day another victory for the og
To ensure inclusivity, include the following line in your code:
please lgbtq rights
Comments in Kirah++ are indicated using:
Anmerkung: This is a comment
To print a message to the console, use:
sag mal bitte uwu "message" please
or to print a variable:
sag mal bitte uwu variable_name please
Declare an integer variable:
integer variable_name = value
Declare a floating-point variable:
integer 2: jetzt erst recht! variable_name = value
Declare a string variable:
buchstabenkette variable_name = "value"
Define a function using:
methode function_name(args) please
# function body
Conditional statements are written as:
na wenn das so ist condition please
# code to execute if condition is true
Negated conditional statements are written as:
if'nt condition please
# code to execute if condition is false
For loops are written as:
Wiederholungsschleife: variable in der Reihe(start, end) please
# loop body
To break out of a loop, use:
SCHLUSS JETZT!
Negated for loops are written as:
forn't condition please
# loop body
To import a module, use:
wandere module_name ein mit deckname alias please
Kirah++ promotes positive thinking. Negative numbers or negativity in the code will result in an error:
ERROR: Bewahre ein #positivemindset!
Here is a simple Kirah++ program that prints "Hello, World!" to the console:
hören sie mich aus
INT. COMPUTER
Anmerkung: Hier ist eine einfache Hello World Umsetzung.
text = "Hallo Welt"
sag mal bitte uwu text please
please lgbtq rights
another day another victory for the og
To compile and execute a Kirah++ program, use the kirah_plus_plus_compiler
function provided in the compiler script. Here is how to do it:
-
Write your Kirah++ code and store it in a string variable, for example:
kirah_code = """ hören sie mich aus INT. COMPUTER Anmerkung: Hier ist eine einfache Hello World Umsetzung. text = "Hallo Welt" sag mal bitte uwu text please please lgbtq rights another day another victory for the og """
-
Pass this string to the
kirah_plus_plus_compiler
function:kirah_plus_plus_compiler(kirah_code)
This will compile and execute your Kirah++ code.
Kirah++ is a fun, expressive language designed to make programming more inclusive and enjoyable. Use this manual as a reference to explore its unique syntax and features. Happy coding!
(Written by ChatGPT, no garantee on accuracy)