Variable declaration and assign, unary operators

This commit is contained in:
gingerBill
2016-07-31 23:01:42 +01:00
parent 776dc0e8f1
commit 70f6282f41
7 changed files with 273 additions and 93 deletions
+4 -9
View File
@@ -1,11 +1,6 @@
main :: proc() {
// x : string;
// x = "Hello";
x : int;
x = 137;
x = 1 + x;
y : f32;
y = 1.01;
y = y + 0.99;
a, b := 1, 2;
a++;
b++;
a += b;
}