code: purgatorio

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