code: purgatorio

ref: c3101e4da486b2bf2e8b911bcb62dd8ec31c41bf
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");
}