Initial commit

This commit is contained in:
2025-05-10 21:28:56 +10:00
commit a782c09f91
24 changed files with 2129 additions and 0 deletions

8
examples/loop.io Normal file
View File

@@ -0,0 +1,8 @@
let int myNum 1;
while myNum != 1001 {
println myNum;
myNum = myNum + 1;
}
println "The loop has ended";

4
examples/names.io Normal file
View File

@@ -0,0 +1,4 @@
println "Hello there!";
print "What is your name? ";
let str yourName input;
println "Hello, " + yourName + "!";

5
examples/password.io Normal file
View File

@@ -0,0 +1,5 @@
print "Enter your password: ";
let str passwdInput input;
if passwdInput == "dingus" {
println "Thank you for entering the right password.";
}

12
examples/test.io Normal file
View File

@@ -0,0 +1,12 @@
let str thing1 "dingus";
let str thing2 "dingus";
if thing1 == thing2 {
println "thing 1 and thing 2 are the same";
}
print "this is printing something without a new line";
println " this is coming from a seperate print statement lols";
print "Say some wise words... ";
println "Ah, '" + input + "', some very wise words indeed!";