Files
kraken/tests/to_parse.krak

22 lines
386 B
Plaintext
Raw Normal View History

import to_import: simple_print, a, b
obj Something (ObjectTrait) {
var member: int
fun method():int {
return 5
}
}
fun some_function(): int return 0;
fun some_other_function(in: bool): float {
return 0.0
}
fun main(): int {
2016-01-15 19:10:52 -05:00
var a_declaration:int
/*var another_declaration = 9*/
simple_print("Hello World!\n")
simple_print(1337)
return 0
}