Initial commit

This commit is contained in:
Neemek 2024-10-08 15:08:56 +02:00
commit 541140687f
Signed by: neemek
GPG key ID: 28360A8951CD0E9B
25 changed files with 4776 additions and 0 deletions

19
examples/arithmetics.ang Normal file
View file

@ -0,0 +1,19 @@
write("Bonjour à tout!");
if 1 == 2 {
# unreachable
} else {
write("Hooray! One does not equal 2!");
}
for (var n = 1; n < 10; n = n + 1) {
write("Run number " + str(n));
}
var a = 2;
write(3 * a*a + 10 / 3);