Fixes and functions

This commit is contained in:
2025-10-01 13:43:08 +10:00
parent d137a623ed
commit 2a977707ee
8 changed files with 97 additions and 6 deletions

5
tests/func.kyn Normal file
View File

@@ -0,0 +1,5 @@
fun dingus {
println "hello"
}
dingus

6
tests/loop.kyn Normal file
View File

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