18 lines
294 B
Brainfuck
18 lines
294 B
Brainfuck
# hello_world.b
|
|
|
|
implement HelloWorld;
|
|
|
|
include "sys.m";
|
|
include "draw.m";
|
|
sys: Sys;
|
|
|
|
HelloWorld: module {
|
|
init: fn(ctxt: ref Draw->Context, args: list of string);
|
|
};
|
|
|
|
init(ctxt: ref Draw->Context, args: list of string) {
|
|
sys = load Sys Sys->PATH;
|
|
|
|
sys->print("Hello, World!\n");
|
|
}
|