repositories
/
cc1516.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
function dingen werken
[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
}