diff --git a/src/hello/hello.c b/src/hello/hello.c new file mode 100644 index 00000000..28e0ee83 --- /dev/null +++ b/src/hello/hello.c @@ -0,0 +1,12 @@ +/* Hello world for the C programming language. */ + +/* To compile and link, type: + :cwd hello + :cc hello.c + :stinkr hello */ + +int main() +{ + cprint("Hello world\n"); + return 0; +} diff --git a/src/hello/hello.stinkr b/src/hello/hello.stinkr new file mode 100644 index 00000000..3c9d0c56 --- /dev/null +++ b/src/hello/hello.stinkr @@ -0,0 +1,3 @@ +x c/clib +l hello.stk +o ts.hello