diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2021-02-26 17:50:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-26 17:50:58 +0100 |
| commit | 3ede8708a83ce5d9b4abb1ec6257bf54676cd4cb (patch) | |
| tree | 58d3a61762c85e4165af1dbd2dbafa6efdec6e9c /progs/tests | |
| parent | cab32da3a8f4b4e25e1d1f287315fe75256ecc89 (diff) | |
| parent | 21b70835bfbc6b8a9c1099bb4a618f1cd457aac0 (diff) | |
| download | sylt-3ede8708a83ce5d9b4abb1ec6257bf54676cd4cb.tar.gz | |
Merge pull request #92 from FredTheDino/breaking-into-sections
Breaking into sections
Diffstat (limited to 'progs/tests')
| -rw-r--r-- | progs/tests/simple.sy | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/progs/tests/simple.sy b/progs/tests/simple.sy index 48394d7..e36d2bf 100644 --- a/progs/tests/simple.sy +++ b/progs/tests/simple.sy @@ -1,2 +1,23 @@ -print test(3.0) -print test(3.0, 4.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
\ No newline at end of file |
