shithub: purgatorio

ref: d916a4c3823f55227ffae35738c2497256e307b5
dir: /opt/misc/appl/hello.b/

View raw version
implement Hello;

include "sys.m";
	sys: Sys;
include "draw.m";

Hello: module {
	init:
	fn(ctxt: ref Draw->Context, argv: list of string);
};

init(ctxt : ref Draw->Context, argv: list of string) {
	sys = load Sys Sys->PATH;
	sys->print("Hello World!\n");
}