update readme with usage instructions

This commit is contained in:
Luna 2019-09-27 21:23:11 -03:00
parent dfb7989123
commit 77c88fad34
1 changed files with 9 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# rayoko
a programming language
a toy programming language and compiler
this time it'll work i promise it wont be like vig plrease
@ -11,3 +11,11 @@ git clone https://gitdab.com/luna/rayoko
cd rayoko
zig build install --prefix ~/.local/
```
# use
```
rayoko examples/hello.ry # outputs to outpath.o
gcc outpath.o examples/hello.c -o hello
./hello
```