aboutsummaryrefslogtreecommitdiffstats
path: root/progs/tests
diff options
context:
space:
mode:
authorEdvard Thörnros <edvard.thornros@gmail.com>2021-02-23 19:04:11 +0100
committerEdvard Thörnros <edvard.thornros@gmail.com>2021-02-23 19:04:11 +0100
commit0a37bd9ba38d1fefe077f72640926e3fac034992 (patch)
tree185458b5f75c756ef5b83b5b2b206249ea145f75 /progs/tests
parente1fc54ab9dfb6b40cf7470daf31d1605543ff758 (diff)
downloadsylt-0a37bd9ba38d1fefe077f72640926e3fac034992.tar.gz
break up sections
Diffstat (limited to 'progs/tests')
-rw-r--r--progs/tests/simple.sy25
1 files changed, 23 insertions, 2 deletions
diff --git a/progs/tests/simple.sy b/progs/tests/simple.sy
index 12a43c0..84bc86d 100644
--- a/progs/tests/simple.sy
+++ b/progs/tests/simple.sy
@@ -1,2 +1,23 @@
-print extern_test(3.0)
-print extern_test(3.0, 4.0, 5.0)
+//
+// import A
+
+//
+f :: fn {
+ g!
+ print q
+}
+
+//
+q :: 1
+
+//
+a := 1
+
+qq :: fn {
+ g!
+ print q
+}
+
+
+// Steg 1: Hitta sektioner
+// Dela sektioner, compilera felera sektioner efter varandra