aboutsummaryrefslogtreecommitdiffstats
path: root/progs/tests
diff options
context:
space:
mode:
Diffstat (limited to 'progs/tests')
-rw-r--r--progs/tests/simple.sy32
1 files changed, 22 insertions, 10 deletions
diff --git a/progs/tests/simple.sy b/progs/tests/simple.sy
index 0f69ae2..84bc86d 100644
--- a/progs/tests/simple.sy
+++ b/progs/tests/simple.sy
@@ -1,11 +1,23 @@
-a := 0
-{
- b := 99999
- {
- a := 99999
- a
- }
- b
- a -= 1
+//
+// import A
+
+//
+f :: fn {
+ g!
+ print q
}
-a <=> -1
+
+//
+q :: 1
+
+//
+a := 1
+
+qq :: fn {
+ g!
+ print q
+}
+
+
+// Steg 1: Hitta sektioner
+// Dela sektioner, compilera felera sektioner efter varandra