Hello, World! в Limbo
Пример для версий
Inferno Limbo 20100115
implement Hello;
include "sys.m";
sys: Sys;
include "draw.m";
Hello: module {
init: fn(nil: ref Draw->Context, argv: list of string);
};
init(nil: ref Draw->Context, argv: list of string)
{
sys = load Sys Sys->PATH;
sys->print("Hello, World!\n");
}
Комментарии
]]>blog comments powered by Disqus
]]>