Add minimal examples

This commit is contained in:
2025-08-06 00:23:10 +02:00
parent 500dcb7594
commit ea9d19b777
7 changed files with 221 additions and 3 deletions
+26
View File
@@ -0,0 +1,26 @@
<!--
You can declare functions too.
Unlike the global scope, expressions
are not printed by default, so you need
to use the print statement to do so.
-->
fun say_hello(name) {
print "Hello to "
print name
}
say_hello("cozis")
<!--
If a function is implemented with a single
expression, you can omit the curly braces
to return it
-->
fun say_hello_2(name)
<a>Hello, \name!</a>
say_hello_2("cozis")