repositories
/
cc1516.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9982b4b249e8546798b0370f5526ec8616c7e504
[cc1516.git]
/
examples
/
codeGen.spl
1
f(x) {
2
Int y = 2;
3
return 4;
4
}
5
6
main() {
7
// Int x1 = 3;
8
// Char x2 = '\n';
9
// Bool x3 = True;
10
// (Int, Char) x4 = (4, '\n');
11
// [Bool] x5 = True : False : True : True : [];
12
// [Int] x1 = 42 : [];
13
Int x1 = 1;
14
Int x2 = f(x1);
15
return x1;
16
}