blob: 262159413b68b6a2e3289edb1e1dc67ed20b658a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
implement Hello;
include "sys.m";
include "draw.m";
Hello: module {
init: fn(nil: ref Draw->Context, nil: list of string);
};
init(nil: ref Draw->Context, nil: list of string) {
sys := load Sys Sys->PATH;
sys->print("Hello World! ☺\n");
exit;
}
|