summaryrefslogtreecommitdiff
path: root/code/main.felan
blob: 470479fb0e5aed0f4ebbb66ba5e48b4a96604c6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
main :: () -> void {
  a := "Hello world\n";
  i := 0;
  while i < 12 {
    putc a[i];
    i += 1;
  }
  print(a);
};

print :: (value:[]u8)->void{
  i := 0;
  putc 'h';
};