X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=examples%2FcodeGen.spl;h=30fe6683b94ce8d070fa5a9d48479f07b6ac6219;hb=8472f6d9507fd0116ac85d02e8ed5566ef8e7980;hp=5b366ba3ca59b54684aa0ee0b04c132b2e2200b2;hpb=a5c9b65860f9af03a7c999f7abd6ab5f12f63523;p=cc1516.git diff --git a/examples/codeGen.spl b/examples/codeGen.spl index 5b366ba..30fe668 100644 --- a/examples/codeGen.spl +++ b/examples/codeGen.spl @@ -3,14 +3,8 @@ f(x, y) { } main() { -// Int x1 = 3; -// Char x2 = '\n'; -// Bool x3 = True; -// (Int, Char) x4 = (4, '\n'); -// [Bool] x5 = True : False : True : True : []; -// [Int] x1 = 42 : []; Int x1 = 1; - Int x2 = f(x1, 2); + x1 = 5; f(x1, 2); return x1; }