shithub: purgatorio

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