Add examples/

This commit is contained in:
germax26 2024-10-01 19:06:03 +10:00
parent 5c02a9f858
commit a77da74da5
Signed by: germax26
SSH Key Fingerprint: SHA256:N3w+8798IMWBt7SYH8G1C0iJlIa2HIIcRCXwILT5FvM
2 changed files with 6 additions and 0 deletions

5
examples/fib.ppp Normal file
View File

@ -0,0 +1,5 @@
a: (int, int) = (0, 1);
for i in range(0, 100) {
a = (a[1], a[0] + a[1]);
print(int_to_str(a[0])+"\n");
}

1
examples/hello.ppp Normal file
View File

@ -0,0 +1 @@
print("Hello, World!\n");