Skip to content

Commit

Permalink
limbo program of hello world added (#144)
Browse files Browse the repository at this point in the history
* limbo program created which output Hello World!

* limbo program created which output Hello World!
  • Loading branch information
Priyansh2 authored and uwx committed Oct 11, 2017
1 parent a0a5d3a commit 8f18fae
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions limbo.b
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
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");
}

0 comments on commit 8f18fae

Please sign in to comment.