aboutsummaryrefslogtreecommitdiff
path: root/tests/bytecode.amal
blob: 799733b059ca777813138ed5f49db2c69ebc63f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern const printf: fn;

const main = fn {
    var value = 23;
    value = 34;
    const value2: i64 = 23;
    const value3 = 2 + 5 - 1 * 10 / 2;
    const str_value = "hello, world";
    //printf();
}

const print = fn {

}