Request module

This commit is contained in:
2025-10-06 11:57:49 +11:00
parent e3b24b585b
commit faebaf7d3f
8 changed files with 118 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
let counter = 0
while compare $counter <= 1000 {
while compare $counter <= 10000 {
println $counter
counter = (math 1 + $counter)
}

33
tests/test.kyn Normal file
View File

@@ -0,0 +1,33 @@
println "thing"
if compare 5 == 10 {
println "uh oh its broken"
} else {
println "its working"
}
struct Dingus {
name = <String>
age = <Int>
fun init name age {
self name = name
self age = age
}
fun tostring {
return (concat name ", " age)
}
}
let myDingus = (Dingus "dingus" 23)
fun myFn param1 param2 andSoOn {
println param1
return param2
}
println (myFn 123 "hi" 3.14)
let favNumbers = [7, 14, 21]
println (file read "README.md")