Skip to content

Commit

Permalink
Hello world for C.
Browse files Browse the repository at this point in the history
  • Loading branch information
larsbrinkhoff committed Sep 4, 2023
1 parent 4715324 commit 5204a53
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/hello/hello.c
Original file line number Diff line number Diff line change
@@ -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;
}
3 changes: 3 additions & 0 deletions src/hello/hello.stinkr
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
x c/clib
l hello.stk
o ts.hello

0 comments on commit 5204a53

Please sign in to comment.