started writing examples for the syntax

This commit is contained in:
SpookyDervish
2025-10-12 21:15:17 +11:00
parent b92ba37bfc
commit 6da4f73ffb
4 changed files with 32 additions and 0 deletions

8
tests/functions.pla Normal file
View File

@@ -0,0 +1,8 @@
depend "io.pla"
depend "string.pla"
add = Func(a: Int, b: Int): Int {
return a + b
}
print(String(add(1, 3)))